diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2016-09-05 14:07:01 +0200 |
|---|---|---|
| committer | Philippe Guibert <philippe.guibert@6wind.com> | 2017-02-14 13:58:58 +0100 |
| commit | 684a7227bd8811b3e222e7d533924e5bc21727e6 (patch) | |
| tree | 94365665bab4f7733437f8620975e373d8939aa1 /bgpd/bgp_attr.h | |
| parent | 906ad49b5e3bda51cf5ad07ea22b46a6597ec292 (diff) | |
bgpd: route type 5 internal structures plus processing
The commit introduces the changes to be done to carry route type 5 EVPN
information in bgp extra attribute information. The commit also handles
the update processing for route type 5 information, including ESI,
gatewayIP and label information.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'bgpd/bgp_attr.h')
| -rw-r--r-- | bgpd/bgp_attr.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/bgpd/bgp_attr.h b/bgpd/bgp_attr.h index c5799ccd0d..3ccf65029c 100644 --- a/bgpd/bgp_attr.h +++ b/bgpd/bgp_attr.h @@ -21,6 +21,8 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA #ifndef _QUAGGA_BGP_ATTR_H #define _QUAGGA_BGP_ATTR_H +#include "bgp_attr_evpn.h" + /* Simple bit mapping. */ #define BITMAP_NBBY 8 @@ -80,6 +82,13 @@ struct bgp_tea_options { #endif +/* Overlay Index Info */ +struct overlay_index +{ + struct eth_segment_id eth_s_id; + union gw_addr gw_ip; +}; + /* Additional/uncommon BGP attributes. * lazily allocated as and when a struct attr * requires it. @@ -131,6 +140,8 @@ struct attr_extra #if ENABLE_BGP_VNC struct bgp_attr_encap_subtlv *vnc_subtlvs; /* VNC-specific */ #endif + /* EVPN */ + struct overlay_index evpn_overlay; }; /* BGP core attribute structure. */ |
