summaryrefslogtreecommitdiffstats
path: root/isisd/isis_lsp.h
diff options
context:
space:
mode:
authorOlivier Dugeon <olivier.dugeon@orange.com>2016-04-19 19:03:05 +0200
committerDonald Sharp <sharpd@cumulusnetwroks.com>2016-09-03 17:05:50 +0200
commitf8c06e2c5270144ea6d1a3fbc70b42979db836db (patch)
treec8bc0f78a5c07792111bfc76da4f6814c7a51f37 /isisd/isis_lsp.h
parentUpdate Traffic Engineering Support for OSPFD (diff)
downloadfrr-f8c06e2c5270144ea6d1a3fbc70b42979db836db.tar.xz
frr-f8c06e2c5270144ea6d1a3fbc70b42979db836db.zip
Add support of Traffic Engineering to IS-IS
These patches is an implementation of RFC5305 that enable the support of Traffic Engineering in IS-IS * isisd/Makefile.am: Add new files isis_te.c and isis_te.h * isisd/isis_circuit.[c,h]: Add new mpls_te_circuit structure to isis_circuit structure to handle new Traffic Engineering TLVs * isisd/isis_lsp.c: Update LSP handler to mux/demux Traffic Engineering TLVs * isisd/isis_main.c: Add initialisation of ISIS TE * isisd/isis_pdu.c: Update function process_p2p_hello() to retrieve remote IP address to populate Traffic Engineering TLV. * isisd/isis_te.[c,]: Implementation of RFC5305 * isisd/isis_tlv.[c,h]: Update TLV definition and function to handle Traffic Engineering ones * isisd/isis_zebra.c: Add new function isis_zebra_link_params() to retrieve the link parameters of interfaces from ZBus to populate the Traffic Engineering TLVs * isisd/isisd.[c,h]: Add Traffic Engineering support with new debug command Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
Diffstat (limited to 'isisd/isis_lsp.h')
-rw-r--r--isisd/isis_lsp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/isisd/isis_lsp.h b/isisd/isis_lsp.h
index a35bfa762..7b2286b18 100644
--- a/isisd/isis_lsp.h
+++ b/isisd/isis_lsp.h
@@ -112,6 +112,8 @@ void lsp_print_detail (struct isis_lsp *lsp, struct vty *vty, char dynhost);
int lsp_print_all (struct vty *vty, dict_t * lspdb, char detail,
char dynhost);
const char *lsp_bits2string (u_char *);
+void lsp_te_tlv_fit (struct isis_lsp *lsp, struct list **from,
+ struct list **to, int frag_thold);
/* sets SRMflags for all active circuits of an lsp */
void lsp_set_all_srmflags (struct isis_lsp *lsp);