Skip to content

Commit

Permalink
lib: Add support for flags to the SRv6 locator
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
cscarpitta committed Oct 28, 2022
1 parent 695f387 commit 9b7491e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/srv6.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ struct srv6_locator {
bool status_up;
struct list *chunks;

uint8_t flags;

QOBJ_FIELDS;
};
DECLARE_QOBJ_TYPE(srv6_locator);
Expand All @@ -116,6 +118,8 @@ struct srv6_locator_chunk {
uint8_t proto;
uint16_t instance;
uint32_t session_id;

uint8_t flags;
};

struct nexthop_srv6 {
Expand Down

0 comments on commit 9b7491e

Please sign in to comment.