]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: add flowspec utilities to decode, convert fs nlri
authorPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 14 Feb 2018 10:13:50 +0000 (11:13 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Fri, 30 Mar 2018 12:00:47 +0000 (14:00 +0200)
commit034cdee950eac039382e92ee2a7c8a099c6baabd
tree0834b07ab5c2fb9e2b574aa708f68e9c4fb577b0
parentf77af2c3f2ceb982a8eecb5f5fe743707038a67e
bgpd: add flowspec utilities to decode, convert fs nlri

The FS nlri is depicted so as to be able to be in readable format,
either by human, or by some other ( remote daemon ?).
This work is a derived work from [0]. Initially done for validation
only, this work is extended.
The FS NLRI is able to decode addresses, numbers ( protocols, ports,
tcp values) combined ( or not) with operators. This makes possible
to have a NLRI entry for a set of ports, and/or for an other set of
value of port.
This implementation mainly brings the API visible. The API should be
consistent across the various usages.

[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>
bgpd/Makefile.am
bgpd/bgp_flowspec_util.c [new file with mode: 0644]
bgpd/bgp_flowspec_util.h [new file with mode: 0644]