forked from Mirror/frr
lib: Add support for flags to the SRv6 locator
In this commit, we introduce the ability to specify flags for an SRv6 locator. Flags can be used to specify the properties of the locator. Signed-off-by: Carmine Scarpitta <carmine.scarpitta@uniroma2.it>
This commit is contained in:
parent
695f387ed8
commit
9b7491e1fc
|
@ -92,6 +92,8 @@ struct srv6_locator {
|
|||
bool status_up;
|
||||
struct list *chunks;
|
||||
|
||||
uint8_t flags;
|
||||
|
||||
QOBJ_FIELDS;
|
||||
};
|
||||
DECLARE_QOBJ_TYPE(srv6_locator);
|
||||
|
@ -116,6 +118,8 @@ struct srv6_locator_chunk {
|
|||
uint8_t proto;
|
||||
uint16_t instance;
|
||||
uint32_t session_id;
|
||||
|
||||
uint8_t flags;
|
||||
};
|
||||
|
||||
struct nexthop_srv6 {
|
||||
|
|
Loading…
Reference in a new issue