mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 19:02:58 +00:00
lib: Define default values for SRv6 flavors attrs
When installing a local SID in the Linux kernel, `lcblock_len` and `lcnode_fn_len` Netlink attributes are optional. When omitted, the kernel uses the default values: lcblock_len=32 and lcnode_fn_len=16. Let's use the same default values in FRR. Signed-off-by: Carmine Scarpitta <carmine.scarpitta@uniroma2.it>
This commit is contained in:
parent
f4d2d9ba0a
commit
79e37f0ded
@ -30,6 +30,10 @@ extern "C" {
|
||||
#define UNSET_SRV6_FLV_OP(OPS,OP) (OPS) &= ~(1 << OP)
|
||||
#define RESET_SRV6_FLV_OP(OPS) (OPS) = 0
|
||||
|
||||
/* SRv6 Flavors default values */
|
||||
#define ZEBRA_DEFAULT_SEG6_LOCAL_FLV_LCBLOCK_LEN 32
|
||||
#define ZEBRA_DEFAULT_SEG6_LOCAL_FLV_LCNODE_FN_LEN 16
|
||||
|
||||
enum seg6_mode_t {
|
||||
INLINE,
|
||||
ENCAP,
|
||||
|
Loading…
Reference in New Issue
Block a user