]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: enhance structures and esi and mac functions to handle EVPN
authorPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 26 Oct 2016 10:21:53 +0000 (12:21 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 14 Feb 2017 12:58:57 +0000 (13:58 +0100)
commit212f5cbcedd477a4652a880f86eddd3b304ea7e5
treec132ce9a3f94d8ae3dfb6ff60c70eace9dfef7fe
parent2c9ba7c7cdbabedb618c4f6c5945a74dac81bd93
bgpd: enhance structures and esi and mac functions to handle EVPN

EVPN introduces new objects to be handled: Ethernet Segment Identifier,
and MAC Address.
For Route type 5 message, it also involves gateway IP field that can be
either IPv4 or IPv6 address. This commit introduces those main structures.
It also introduces some functions to convert esi and mac address to
string, and vice-versa.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
bgpd/Makefile.am
bgpd/bgp_attr_evpn.c [new file with mode: 0644]
bgpd/bgp_attr_evpn.h [new file with mode: 0644]