diff options
| author | Carmine Scarpitta <carmine.scarpitta@uniroma2.it> | 2022-10-27 18:32:19 +0200 |
|---|---|---|
| committer | Carmine Scarpitta <carmine.scarpitta@uniroma2.it> | 2022-10-29 01:31:59 +0200 |
| commit | 9b7491e1fc04bf71842865906dbf9a36e62bdb28 (patch) | |
| tree | e4d24296acd8318d009bc739f117bd5b82f735e1 /lib/srv6.h | |
| parent | 695f387ed872c1bc55ad4149ede95465b48697b9 (diff) | |
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>
Diffstat (limited to 'lib/srv6.h')
| -rw-r--r-- | lib/srv6.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/srv6.h b/lib/srv6.h index 6e0c3ce99d..a3575583ae 100644 --- a/lib/srv6.h +++ b/lib/srv6.h @@ -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 { |
