summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_route.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-02-02 13:36:20 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-02-02 13:36:20 +0100
commit6aeb9e78460e6d31ba008d98eb8679488bfe1db9 (patch)
treeec55475c948c2f757d493b09712d34217cc73d36 /bgpd/bgp_route.h
parentvtysh: Add VRF sub-mode (diff)
downloadfrr-6aeb9e78460e6d31ba008d98eb8679488bfe1db9.tar.xz
frr-6aeb9e78460e6d31ba008d98eb8679488bfe1db9.zip
bgpd: Add the ability to use a VRF to bgp
Signed-off-by: Vipin Kumar <vipin@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_route.h')
-rw-r--r--bgpd/bgp_route.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/bgpd/bgp_route.h b/bgpd/bgp_route.h
index faeb5d6a3..3a2d93828 100644
--- a/bgpd/bgp_route.h
+++ b/bgpd/bgp_route.h
@@ -239,12 +239,13 @@ extern int bgp_nlri_parse (struct peer *, struct attr *, struct bgp_nlri *);
extern int bgp_maximum_prefix_overflow (struct peer *, afi_t, safi_t, int);
-extern void bgp_redistribute_add (struct prefix *, const struct in_addr *,
+extern void bgp_redistribute_add (struct bgp *, struct prefix *, const struct in_addr *,
const struct in6_addr *, unsigned int ifindex,
u_int32_t, u_char, u_short, u_short);
-extern void bgp_redistribute_delete (struct prefix *, u_char, u_short);
+extern void bgp_redistribute_delete (struct bgp *, struct prefix *, u_char, u_short);
extern void bgp_redistribute_withdraw (struct bgp *, afi_t, int, u_short);
+extern void bgp_static_add (struct bgp *);
extern void bgp_static_delete (struct bgp *);
extern void bgp_static_redo_import_check (struct bgp *);
extern void bgp_static_update (struct bgp *, struct prefix *, struct bgp_static *,