summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_zebra.h
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2018-03-28 14:51:57 +0200
committerPhilippe Guibert <philippe.guibert@6wind.com>2018-04-30 11:56:23 +0200
commitf7df19076a6ed8da508c75069497abdda8a427a8 (patch)
treee1e58535606ab7e3a9cc020f87fa1eea543643ea /bgpd/bgp_zebra.h
parentbgpd: allow flowspec entries to be announced to zebra (diff)
downloadfrr-f7df19076a6ed8da508c75069497abdda8a427a8.tar.xz
frr-f7df19076a6ed8da508c75069497abdda8a427a8.zip
bgpd: handle FS redirect IP rule in PBR
If a new rule is identified, a new table identifier is created. In that table, add a default route when possible. If redirect IP rule is identified, then add a default route to that IP address. If redirect VRF is identified, nothing is done for now Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'bgpd/bgp_zebra.h')
-rw-r--r--bgpd/bgp_zebra.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bgpd/bgp_zebra.h b/bgpd/bgp_zebra.h
index 003db6531..63ecb9fc8 100644
--- a/bgpd/bgp_zebra.h
+++ b/bgpd/bgp_zebra.h
@@ -83,4 +83,7 @@ extern void bgp_send_pbr_iptable(struct bgp_pbr_action *pba,
struct bgp_pbr_match *pbm,
bool install);
+extern void bgp_zebra_announce_default(struct bgp *bgp, struct nexthop *nh,
+ afi_t afi, uint32_t table_id, bool announce);
+
#endif /* _QUAGGA_BGP_ZEBRA_H */