]>
Commit | Line | Data |
---|---|---|
7ef5a232 PG |
1 | /* E-VPN header for packet handling |
2 | Copyright (C) 2016 6WIND | |
3 | ||
4 | This file is part of Free Range Routing. | |
5 | ||
6 | Free Range Routing is free software; you can redistribute it and/or modify it | |
7 | under the terms of the GNU General Public License as published by the | |
8 | Free Software Foundation; either version 2, or (at your option) any | |
9 | later version. | |
10 | ||
11 | Free Range Routing is distributed in the hope that it will be useful, but | |
12 | WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
14 | General Public License for more details. | |
15 | ||
16 | You should have received a copy of the GNU General Public License | |
17 | along with Free Range Routing; see the file COPYING. If not, write to the Free | |
18 | Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | |
19 | 02111-1307, USA. */ | |
20 | ||
21 | #ifndef _QUAGGA_BGP_EVPN_H | |
22 | #define _QUAGGA_BGP_EVPN_H | |
23 | ||
24 | extern int bgp_nlri_parse_evpn (struct peer *peer, struct attr *attr, | |
25 | struct bgp_nlri *packet, int withdraw); | |
26 | ||
27 | /* EVPN route types as per RFC7432 and | |
28 | * as per draft-ietf-bess-evpn-prefix-advertisement-02 | |
29 | */ | |
30 | #define EVPN_ETHERNET_AUTO_DISCOVERY 1 | |
31 | #define EVPN_MACIP_ADVERTISEMENT 2 | |
32 | #define EVPN_INCLUSIVE_MULTICAST_ETHERNET_TAG 3 | |
33 | #define EVPN_ETHERNET_SEGMENT 4 | |
34 | #define EVPN_IP_PREFIX 5 | |
35 | ||
36 | #endif /* _QUAGGA_BGP_EVPN_H */ |