mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-02 22:09:48 +00:00
isisd: Add SRv6 locator data structure
Add a data structure to represent an SRv6 locator (RFC 9352 section 7.1) Signed-off-by: Carmine Scarpitta <carmine.scarpitta@uniroma2.it>
This commit is contained in:
parent
77a8c68df6
commit
791ca51ecf
@ -52,6 +52,21 @@ struct isis_srv6_sid {
|
||||
struct isis_area *area;
|
||||
};
|
||||
|
||||
/* SRv6 Locator */
|
||||
struct isis_srv6_locator {
|
||||
struct isis_srv6_locator *next;
|
||||
|
||||
uint32_t metric;
|
||||
|
||||
uint8_t flags;
|
||||
#define ISIS_SRV6_LOCATOR_FLAG_D 1 << 7
|
||||
|
||||
uint8_t algorithm;
|
||||
struct prefix_ipv6 prefix;
|
||||
|
||||
struct list *srv6_sid;
|
||||
};
|
||||
|
||||
/* Per-area IS-IS SRv6 Data Base (SRv6 DB) */
|
||||
struct isis_srv6_db {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user