]> git.puffer.fish Git - matthieu/frr.git/commit
Quagga: AFI/SAFI mappings IANA to/from internal values
authorvivek <vivek@cumulusnetworks.com>
Wed, 15 Jun 2016 17:25:35 +0000 (10:25 -0700)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 12 Jan 2017 08:28:43 +0000 (09:28 +0100)
commit9cabb64b320a946b401daa3f6ee7adcefe1548b6
tree877ff14ba84c34df0b08515d082e537789925f1a
parentd504ec224a4ddc72177a5ef1aba02cdacb266416
Quagga: AFI/SAFI mappings IANA to/from internal values

Introduce internal and IANA defintions for AFI/SAFI and mapping
functions and modify code to use these. This refactoring will
facilitate adding support for other AFI/SAFI whose IANA values
won't be suitable for internal data structure definitions (e.g.,
they are not contiguous).
The commit adds some fixes related to afi/safi testing with 'make check
' command.

Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Ticket: CM-11416
Reviewed By: CCR-3594 (mpls branch)
Testing Done: Not tested now, tested earlier on mpls branch
bgpd/bgp_attr.c
bgpd/bgp_open.c
bgpd/bgp_open.h
bgpd/bgp_packet.c
bgpd/bgp_route.c
bgpd/bgpd.c
bgpd/bgpd.h
bgpd/rfapi/rfapi_import.c
lib/zebra.h
tests/bgp_capability_test.c
tests/bgp_mp_attr_test.c