summaryrefslogtreecommitdiffstats
path: root/isisd/isisd.h
diff options
context:
space:
mode:
authorEmanuele Di Pascale <emanuele@voltanet.io>2018-11-14 16:05:57 +0100
committerEmanuele Di Pascale <emanuele@voltanet.io>2018-12-18 15:24:46 +0100
commit86370604249ddd66f29c176bc295416d2871961c (patch)
treec07341a4b5031fd51064cabedc3c578d1ddae504 /isisd/isisd.h
parentisisd: implement the 'version-skew' notification (diff)
downloadfrr-86370604249ddd66f29c176bc295416d2871961c.tar.xz
frr-86370604249ddd66f29c176bc295416d2871961c.zip
isisd: add the 'lsp-error-detected' notification
Note that we do not return the actual tlv_type and offset of the erroneous TLV. This is because unpacking tlvs currently uses a chain of function calls, where the notification can only be sent at the start of the chain, but the tlv_type and offset information are only available at the end. Unless we change the code to propagate those values, we have no way to feed them to the notification. So these leafs are not generated. Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
Diffstat (limited to 'isisd/isisd.h')
-rw-r--r--isisd/isisd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/isisd/isisd.h b/isisd/isisd.h
index 87d206514..199e64b44 100644
--- a/isisd/isisd.h
+++ b/isisd/isisd.h
@@ -256,6 +256,9 @@ extern void isis_notif_id_len_mismatch(const struct isis_circuit *circuit,
uint8_t rcv_id_len, const char *raw_pdu);
extern void isis_notif_version_skew(const struct isis_circuit *circuit,
uint8_t version, const char *raw_pdu);
+extern void isis_notif_lsp_error(const struct isis_circuit *circuit,
+ const char *lsp_id, const char *raw_pdu,
+ uint32_t offset, uint8_t tlv_type);
/* Master of threads. */
extern struct thread_master *master;