summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_attr_evpn.c
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_attr_evpn.c
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_attr_evpn.c')
-rw-r--r--bgpd/bgp_attr_evpn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bgpd/bgp_attr_evpn.c b/bgpd/bgp_attr_evpn.c
index 8715062ba..76c0e5119 100644
--- a/bgpd/bgp_attr_evpn.c
+++ b/bgpd/bgp_attr_evpn.c
@@ -21,6 +21,7 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
#include <zebra.h>
#include "command.h"
+#include "filter.h"
#include "prefix.h"
#include "log.h"
#include "memory.h"