summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorCarmine Scarpitta <cscarpit@cisco.com>2024-02-13 11:40:49 +0100
committerCarmine Scarpitta <cscarpit@cisco.com>2024-02-18 18:31:13 +0100
commitb1f1cb9c23fd49f81bfda8876610c3d7dda6d88c (patch)
treeabb3d6be53bce3ba37e6439d5ca2a0752190bdc0 /lib
parentfpm: Add SRv6 VPN SIDs to `fpm.proto` (diff)
downloadfrr-b1f1cb9c23fd49f81bfda8876610c3d7dda6d88c.tar.xz
frr-b1f1cb9c23fd49f81bfda8876610c3d7dda6d88c.zip
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 <cscarpit@cisco.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions