summaryrefslogtreecommitdiffstats
path: root/isisd/isis_tlvs.h
diff options
context:
space:
mode:
authorChristian Franke <chris@opensourcerouting.org>2018-05-28 15:36:15 +0200
committerChristian Franke <chris@opensourcerouting.org>2018-09-05 11:38:13 +0200
commit5f77d90188278673764eb63d3210b38dc42924b0 (patch)
tree6089eba4f543cfd592da6b5f9d6d7c02ce1deeb1 /isisd/isis_tlvs.h
parenttests/isisd: remove auth when fuzzing (diff)
downloadfrr-5f77d90188278673764eb63d3210b38dc42924b0.tar.xz
frr-5f77d90188278673764eb63d3210b38dc42924b0.zip
isisd: add TLV 13 Purge Originator Identification
Extend our parser to support the Purge Originator Identifaction TLV as per RFC 6232. Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Diffstat (limited to 'isisd/isis_tlvs.h')
-rw-r--r--isisd/isis_tlvs.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/isisd/isis_tlvs.h b/isisd/isis_tlvs.h
index 7ebb648cc..abdd03f02 100644
--- a/isisd/isis_tlvs.h
+++ b/isisd/isis_tlvs.h
@@ -189,6 +189,13 @@ struct isis_item_list {
unsigned int count;
};
+struct isis_purge_originator {
+ bool sender_set;
+
+ uint8_t generator[6];
+ uint8_t sender[6];
+};
+
RB_HEAD(isis_mt_item_list, isis_item_list);
struct isis_item_list *isis_get_mt_items(struct isis_mt_item_list *m,
@@ -198,6 +205,7 @@ struct isis_item_list *isis_lookup_mt_items(struct isis_mt_item_list *m,
struct isis_tlvs {
struct isis_item_list isis_auth;
+ struct isis_purge_originator *purge_originator;
struct isis_item_list area_addresses;
struct isis_item_list oldstyle_reach;
struct isis_item_list lan_neighbor;
@@ -262,6 +270,7 @@ enum isis_tlv_type {
ISIS_TLV_PADDING = 8,
ISIS_TLV_LSP_ENTRY = 9,
ISIS_TLV_AUTH = 10,
+ ISIS_TLV_PURGE_ORIGINATOR = 13,
ISIS_TLV_EXTENDED_REACH = 22,
ISIS_TLV_OLDSTYLE_IP_REACH = 128,