]> git.proxmox.com Git - mirror_frr.git/commit - lib/command.h
bgpd: add flowspec feature
authorjaydom <jaydom912@126.com>
Mon, 23 Jan 2017 02:45:30 +0000 (10:45 +0800)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Fri, 30 Mar 2018 12:00:47 +0000 (14:00 +0200)
commit7c40bf391c1d45e26b4dd342ca5fee1b0ae3fe19
tree704f4df680adc85291f5df152069c62c29b22f4a
parent9a14899b0ac8f3d9d0ce077127568f215c301f6a
bgpd: add flowspec feature

This work is derived from a work done by China-Telecom.
That initial work can be found in [0].
As the gap between frr and quagga is important, a reworks has been
done in the meantime.
The initial work consists of bringing the following:
- Bringing the client side of flowspec.
- the enhancement of address-family ipv4/ipv6 flowspec
- partial data path handling at reception has been prepared
- the support for ipv4 flowspec or ipv6 flowspec in BGP open messages,
  and the internals of BGP has been done.
- the memory contexts necessary for flowspec has been provisioned

In addition to this work, the following has been done:
- the complement of adaptation for FS safi in bgp code
- the code checkstyle has been reworked so as to match frr checkstyle
- the processing of IPv6 FS NLRI is prevented
- the processing of FS NLRI is stopped ( temporary)

[0] https://github.com/chinatelecom-sdn-group/quagga_flowspec/

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Signed-off-by: jaydom <chinatelecom-sdn-group@github.com>
18 files changed:
bgpd/Makefile.am
bgpd/bgp_attr.c
bgpd/bgp_ecommunity.h
bgpd/bgp_flowspec.c [new file with mode: 0644]
bgpd/bgp_flowspec.h [new file with mode: 0644]
bgpd/bgp_flowspec_private.h [new file with mode: 0644]
bgpd/bgp_memory.c
bgpd/bgp_memory.h
bgpd/bgp_open.c
bgpd/bgp_packet.c
bgpd/bgp_vty.c
bgpd/bgp_vty.h
bgpd/bgpd.c
bgpd/bgpd.h
lib/command.c
lib/command.h
lib/prefix.c
lib/zebra.h