summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_attr_evpn.h
diff options
context:
space:
mode:
authorVincent Bernat <vincent@bernat.im>2018-04-06 15:52:48 +0200
committerVincent Bernat <vincent@bernat.im>2018-04-09 11:42:08 +0200
commit554cd77a6a29a39fd96d28055bbc6ab6c6dd8537 (patch)
treed96ebf2b2427a9d8edb4e984046d5b889a44f462 /bgpd/bgp_attr_evpn.h
parentMerge pull request #2028 from qlyoung/cleanup-static-route-consistent-ordering (diff)
downloadfrr-554cd77a6a29a39fd96d28055bbc6ab6c6dd8537.tar.xz
frr-554cd77a6a29a39fd96d28055bbc6ab6c6dd8537.zip
bgpd: add basic support for ETI and ESI for BGP EVPN
Ethernet Tag ID (ETI) is part of the prefix. It cannot just be ignored as it needs to be used when checking for prefix uniqueness. Moreover, when using Quagga as a route reflector, we need to keep its value. Therefore, we correctly parse and encode it. We also parse ESI. While not part of the prefix, it needs to be reflected correctly by Quagga. Signed-off-by: Vincent Bernat <vincent@bernat.im>
Diffstat (limited to 'bgpd/bgp_attr_evpn.h')
-rw-r--r--bgpd/bgp_attr_evpn.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bgpd/bgp_attr_evpn.h b/bgpd/bgp_attr_evpn.h
index cb1c131ef..7454b81b9 100644
--- a/bgpd/bgp_attr_evpn.h
+++ b/bgpd/bgp_attr_evpn.h
@@ -37,6 +37,7 @@
unsigned long eth_tag_id;
struct attr;
+/* EVPN ESI */
struct eth_segment_id {
uint8_t val[ESI_LEN];
};