summaryrefslogtreecommitdiff
path: root/lib/link_state.h
diff options
context:
space:
mode:
authorOlivier Dugeon <olivier.dugeon@orange.com>2023-02-15 09:42:03 +0100
committerGitHub <noreply@github.com>2023-02-15 09:42:03 +0100
commite2b958ecbcd855dbaab6ba2e18550626befd3136 (patch)
tree6b2ddd9ed915e0a732c0fc0a4d85e1b9bc232f9d /lib/link_state.h
parent423c8035807d78ad9044068a9f45505d0208e981 (diff)
parent66a45dae56e0e70a49168f6750b8342e1edbc5fe (diff)
Merge pull request #12494 from louis-6wind/ext_admin_group
lib,zebra,isisd: add support for extended admin group RFC7308
Diffstat (limited to 'lib/link_state.h')
-rw-r--r--lib/link_state.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/link_state.h b/lib/link_state.h
index ed315452da..35e6c9311b 100644
--- a/lib/link_state.h
+++ b/lib/link_state.h
@@ -25,6 +25,7 @@
#ifndef _FRR_LINK_STATE_H_
#define _FRR_LINK_STATE_H_
+#include "admin_group.h"
#include "typesafe.h"
#ifdef __cplusplus
@@ -169,6 +170,7 @@ struct ls_node {
#define LS_ATTR_ADJ_SID6 0x04000000
#define LS_ATTR_BCK_ADJ_SID6 0x08000000
#define LS_ATTR_SRLG 0x10000000
+#define LS_ATTR_EXT_ADM_GRP 0x20000000
/* Link State Attributes */
struct ls_attributes {
@@ -202,6 +204,7 @@ struct ls_attributes {
float rsv_bw; /* Reserved Bandwidth */
float used_bw; /* Utilized Bandwidth */
} extended;
+ struct admin_group ext_admin_group; /* Extended Admin. Group */
#define ADJ_PRI_IPV4 0
#define ADJ_BCK_IPV4 1
#define ADJ_PRI_IPV6 2