Skip to content
Open

Mpls #45

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions lib/bgp/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ include_HEADERS = \
parsebgp_bgp_route_refresh.h \
parsebgp_bgp_update.h \
parsebgp_bgp_update_ext_communities.h \
parsebgp_bgp_update_mp_reach.h
parsebgp_bgp_update_mp_reach.h \
parsebgp_bgp_update_mp_link_state.h

noinst_LTLIBRARIES = libparsebgp_bgp.la

Expand All @@ -61,6 +62,8 @@ libparsebgp_bgp_la_SOURCES = \
parsebgp_bgp_update_ext_communities.c \
parsebgp_bgp_update_ext_communities.h \
parsebgp_bgp_update_mp_reach.c \
parsebgp_bgp_update_mp_reach.h
parsebgp_bgp_update_mp_reach.h \
parsebgp_bgp_update_mp_link_state.c \
parsebgp_bgp_update_mp_link_state.h

CLEANFILES = *~
12 changes: 10 additions & 2 deletions lib/bgp/parsebgp_bgp_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ typedef enum {
/** IPv6 Address */
PARSEBGP_BGP_AFI_IPV6 = 2,

// TODO: add support for L2VPN, BGPLS
/** Layer 2 VPNs */
PARSEBGP_BGP_AFI_L2VPN = 25,

/** BGP Link State */
PARSEBGP_BGP_AFI_BGPLS = 16388,

} parsebgp_bgp_afi_t;

Expand All @@ -55,7 +59,11 @@ typedef enum {
/** Multicast */
PARSEBGP_BGP_SAFI_MULTICAST = 2,

// TODO: add support for EVPN, NLRI_LABEL
PARSEBGP_BGP_NLRI_LABEL = 4,

PARSEBGP_BGP_SAFI_EVPN = 70,

PARSEBGP_BGP_SAFI_BGPLS = 71,

/** MPLS */
PARSEBGP_BGP_SAFI_MPLS = 128,
Expand Down
Loading