summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_zebra.h
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2018-04-03 15:06:50 +0200
committerPhilippe Guibert <philippe.guibert@6wind.com>2018-04-30 11:56:23 +0200
commit31c28cd7083149a7888e4882d3cda4a0b62a0d4d (patch)
tree4fdb295d925f123c8d1c3654bfacdb3dc8fa0bc0 /bgpd/bgp_zebra.h
parentbgpd: handle FS redirect IP rule in PBR (diff)
downloadfrr-31c28cd7083149a7888e4882d3cda4a0b62a0d4d.tar.xz
frr-31c28cd7083149a7888e4882d3cda4a0b62a0d4d.zip
bgpd: get table identifier from table manager
A table chunk of 100000 is allocated from zebra, and when needed in flowspec, the table identifier is extracted from that chunk. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'bgpd/bgp_zebra.h')
-rw-r--r--bgpd/bgp_zebra.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bgpd/bgp_zebra.h b/bgpd/bgp_zebra.h
index 63ecb9fc8..7ac40fecf 100644
--- a/bgpd/bgp_zebra.h
+++ b/bgpd/bgp_zebra.h
@@ -25,6 +25,7 @@
extern void bgp_zebra_init(struct thread_master *master);
extern void bgp_zebra_init_tm_connect(void);
+extern uint32_t bgp_zebra_tm_get_id(void);
extern void bgp_zebra_destroy(void);
extern int bgp_zebra_get_table_range(uint32_t chunk_size,
uint32_t *start, uint32_t *end);