forked from FRRouting/frr
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fpm: Add functions to encode nexthop in protobuf
Add two helper functions to encode/decode nexthops in protobuf. Specifically, * `fpm_nexthop_create`: encode a `struct nexthop` in a protobuf nexthop structure * `fpm_nexthop_get`: decode a nexthop protobuf structure into a `struct nexthop` This is a preliminary commit to support sending SRv6 Local SIDs and VPN SIDs via protobuf. Signed-off-by: Carmine Scarpitta <[email protected]>
- Loading branch information
1 parent
152579f
commit f957330
Showing
1 changed file
with
92 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters