diff options
| author | Carmine Scarpitta <cscarpit@cisco.com> | 2024-02-13 11:48:11 +0100 |
|---|---|---|
| committer | Carmine Scarpitta <cscarpit@cisco.com> | 2024-02-18 18:31:13 +0100 |
| commit | 154bce3d9c2e1a842ae8ac1c1038f6307312dd67 (patch) | |
| tree | 9d1f0626b268bf10f26280524ab3d0052d6790a6 /zebra/zebra_mpls_null.c | |
| parent | b1f1cb9c23fd49f81bfda8876610c3d7dda6d88c (diff) | |
fpm: Add func to encode SRv6 SIDs in protobuf
Add a bunch of helper functions to support encoding of SRv6 SIDs in
protobuf.
Specifically,
* `fpm_srv6_sid_format_create`: encode SID format information into a
protobuf `SRv6SIDFormat` structure
* `fpm_srv6_local_sid_*_behavior_create` functions: encode an SRv6 SID
behavior and associated attributes into a protobuf
`Fpm__SRv6LocalSID__*` structure
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 'zebra/zebra_mpls_null.c')
0 files changed, 0 insertions, 0 deletions
