summaryrefslogtreecommitdiff
path: root/ripd/ripd.h
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2018-05-09 01:35:04 -0300
committerRenato Westphal <renato@opensourcerouting.org>2018-10-27 16:16:12 -0200
commitfe339c9560ee3665c66033ccbbfc8b3eac02d035 (patch)
tree13ebaa4bffed12adee3e4007e5fe4dbde739f9cf /ripd/ripd.h
parent1137aef48fee571e51a1445e76647359d5701922 (diff)
ripd: implement two YANG notifications
Implement the 'authentication-failure' and 'authentication-type-failure' notifications defined in the frr-ripd YANG module. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'ripd/ripd.h')
-rw-r--r--ripd/ripd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ripd/ripd.h b/ripd/ripd.h
index 367b1d5bfb..d4fb230a20 100644
--- a/ripd/ripd.h
+++ b/ripd/ripd.h
@@ -452,6 +452,10 @@ extern int rip_offset_list_apply_out(struct prefix_ipv4 *, struct interface *,
extern void rip_offset_init(void);
extern void rip_offset_clean(void);
+/* YANG notifications */
+extern void ripd_notif_send_auth_type_failure(const char *ifname);
+extern void ripd_notif_send_auth_failure(const char *ifname);
+
/* There is only one rip strucutre. */
extern struct rip *rip;