summaryrefslogtreecommitdiffstats
path: root/lib/table.h
diff options
context:
space:
mode:
authorLou Berger <lberger@labn.net>2016-04-19 22:06:35 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-09-30 18:56:17 +0200
commitc634f609a6090e2e28d99725c16aa2c5c3bab11f (patch)
tree2e6055e363ab1afe668d2e09eada08b2d4fcaf81 /lib/table.h
parentbgpd: eliminate RD related duplicate code in bgp_encap.c (diff)
downloadfrr-c634f609a6090e2e28d99725c16aa2c5c3bab11f.tar.xz
frr-c634f609a6090e2e28d99725c16aa2c5c3bab11f.zip
lib: add route_table_get_default_delegate
Diffstat (limited to 'lib/table.h')
-rw-r--r--lib/table.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/table.h b/lib/table.h
index 34c196aa4..e6cdcfef1 100644
--- a/lib/table.h
+++ b/lib/table.h
@@ -144,6 +144,9 @@ extern struct route_table *route_table_init (void);
extern struct route_table *
route_table_init_with_delegate (route_table_delegate_t *);
+extern route_table_delegate_t *
+route_table_get_default_delegate(void);
+
extern void route_table_finish (struct route_table *);
extern void route_unlock_node (struct route_node *node);
extern struct route_node *route_top (struct route_table *);