summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_packet.h
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2016-09-05 11:07:25 +0200
committerPhilippe Guibert <philippe.guibert@6wind.com>2017-02-14 13:58:57 +0100
commit7ef5a2328817de75095b625972562b540334a691 (patch)
tree14f26641208b7858309c58ffbcc8c8eb54c5a05c /bgpd/bgp_packet.h
parentbgpd: enhance structures and esi and mac functions to handle EVPN (diff)
downloadfrr-7ef5a2328817de75095b625972562b540334a691.tar.xz
frr-7ef5a2328817de75095b625972562b540334a691.zip
bgpd: handling EVPN Route Type 5 NLRI message
This patch introduces code to receive a NLRI message with route type 5, as defined in draft-ietf-bess-evpn-prefix-advertisement-02. It It increases the number of parameters to extract from the NLRI and to store into bgp extra information structure. Those parameters are the ESI (ethernet segment identifier), the gateway IP Address (which acts like nexthop attribute but is contained inside the NLRI itself) and the ethernet tag identifier ( that acts for the VXLan Identifier) This patch updates bgp_update() and bgp_withdraw() api, and then does the necessary adapations for rfapi. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'bgpd/bgp_packet.h')
-rw-r--r--bgpd/bgp_packet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_packet.h b/bgpd/bgp_packet.h
index 78855c342..ea5c7a899 100644
--- a/bgpd/bgp_packet.h
+++ b/bgpd/bgp_packet.h
@@ -55,7 +55,7 @@ extern void bgp_default_withdraw_send (struct peer *, afi_t, safi_t);
extern int bgp_capability_receive (struct peer *, bgp_size_t);
-extern int bgp_nlri_parse (struct peer *, struct attr *, struct bgp_nlri *);
+extern int bgp_nlri_parse (struct peer *, struct attr *, struct bgp_nlri *, int mp_withdraw);
extern void bgp_update_restarted_peers (struct peer *);
extern void bgp_update_implicit_eors (struct peer *);