Skip to content

Commit 9b7491e

Browse files
committed
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 <[email protected]>
1 parent 695f387 commit 9b7491e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/srv6.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ struct srv6_locator {
9292
bool status_up;
9393
struct list *chunks;
9494

95+
uint8_t flags;
96+
9597
QOBJ_FIELDS;
9698
};
9799
DECLARE_QOBJ_TYPE(srv6_locator);
@@ -116,6 +118,8 @@ struct srv6_locator_chunk {
116118
uint8_t proto;
117119
uint16_t instance;
118120
uint32_t session_id;
121+
122+
uint8_t flags;
119123
};
120124

121125
struct nexthop_srv6 {

0 commit comments

Comments
 (0)