summaryrefslogtreecommitdiffstats
path: root/ripd/ripd.h
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2018-05-09 06:35:03 +0200
committerRenato Westphal <renato@opensourcerouting.org>2018-10-27 20:16:12 +0200
commit5c1a84977b749f30b8361e135d2a555f6fa3383d (patch)
tree5211c3ff1e3d4d035b159310f897c6560873fd2c /ripd/ripd.h
parentripd: reduce excessive indentation in a few places (diff)
downloadfrr-5c1a84977b749f30b8361e135d2a555f6fa3383d.tar.xz
frr-5c1a84977b749f30b8361e135d2a555f6fa3383d.zip
ripd: implement northbound callbacks to fetch neighbor information
Support for fetching operational data is experimental at this point. Locks must be introduced to ensure the peer_list global variable won't be modified while we're iterating asynchronously over it (or iterating from a separate pthread). Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'ripd/ripd.h')
-rw-r--r--ripd/ripd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ripd/ripd.h b/ripd/ripd.h
index 6af99ada2..81e97f842 100644
--- a/ripd/ripd.h
+++ b/ripd/ripd.h
@@ -466,6 +466,7 @@ extern long rip_global_queries;
DECLARE_HOOK(rip_ifaddr_add, (struct connected * ifc), (ifc))
DECLARE_HOOK(rip_ifaddr_del, (struct connected * ifc), (ifc))
+extern struct list *peer_list;
extern struct route_table *rip_distance_table;
extern vector Vrip_passive_nondefault;