diff options
| -rw-r--r-- | lib/srv6.h | 11 | 
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/srv6.h b/lib/srv6.h index 4f004bf5df..f5a9431896 100644 --- a/lib/srv6.h +++ b/lib/srv6.h @@ -69,10 +69,21 @@ struct seg6_segs {  	struct in6_addr segs[256];  }; +struct seg6local_flavors_info { +	/* Flavor operations */ +	uint32_t flv_ops; + +	/* Locator-Block length, expressed in bits */ +	uint8_t lcblock_len; +	/* Locator-Node Function length, expressed in bits */ +	uint8_t lcnode_func_len; +}; +  struct seg6local_context {  	struct in_addr nh4;  	struct in6_addr nh6;  	uint32_t table; +	struct seg6local_flavors_info flv;  };  struct srv6_locator {  | 
