summaryrefslogtreecommitdiff
path: root/isisd/isis_zebra.h
diff options
context:
space:
mode:
authorOlivier Dugeon <olivier.dugeon@orange.com>2019-07-26 16:07:39 +0200
committerOlivier Dugeon <olivier.dugeon@orange.com>2019-09-17 17:35:50 +0200
commit1b3f47d04cd48eea3de2d859da8541896519dfa4 (patch)
tree5b5e8256a2ebf59c1e8d2cf392ef1328d58144ac /isisd/isis_zebra.h
parent215e03fe5328404e543760fecbbbf096a612bebc (diff)
isisd: Update TLVs processing for TE, RI & SR
In preparation to Segment Routing: - Update the management of Traffic Engineering subTLVs to the new tlvs parser - Add Router Capability TLV 242 as per RFC 4971 & 7981 - Add Segment Routing subTLVs as per draft-isis-segment-routing-extension-25 Modified files: - isis_tlvs.h: add new structure to manage TE subTLVs, TLV 242 & SR subTLVs - isis_tlvs.c: add new functions (pack, copy, free, unpack & print) to process TE subTLVs, Router Capability TLV and SR subTLVs - isis_circuit.[c,h] & isis_lsp.[c,h]: update to new subTLVs & TLV processing - isis_te.[c,h]: remove all old TE structures and managment functions, and add hook call to set local and remote IP addresses as wellas update TE parameters - isis_zebra.[c,h]: add hook call when new interface is up - isis_mt.[c,h], isis_pdu.c & isis_northbound.c: adjust to new TE subTLVs - tests/isisd/test_fuzz_isis_tlv_tests.h.gz: adapte fuuz tests to new parser Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
Diffstat (limited to 'isisd/isis_zebra.h')
-rw-r--r--isisd/isis_zebra.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/isisd/isis_zebra.h b/isisd/isis_zebra.h
index d00f348c8e..83a32108eb 100644
--- a/isisd/isis_zebra.h
+++ b/isisd/isis_zebra.h
@@ -24,6 +24,8 @@
extern struct zclient *zclient;
+DECLARE_HOOK(isis_if_new_hook, (struct interface *ifp), (ifp));
+
void isis_zebra_init(struct thread_master *);
void isis_zebra_stop(void);