]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_flowspec_util.c
bgpd: align fragment flowspec decoding with tcpflags
authorPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 20 Jun 2018 06:32:43 +0000 (08:32 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 28 Jun 2018 09:08:58 +0000 (11:08 +0200)
commit588ec356d094411f1330f6e0aab621f2ba5504b5
treeb79aed4f9bdf871602901e887a674c6e5bffaf8b
parentcfaf18ce52fc9ca07dbc696a9a6c6e0d86f801e8
bgpd: align fragment flowspec decoding with tcpflags

As fragment bitmask and tcpflags bitmask in flowspec protocol is encoded
in the same way, it is not necessary to differentiate those two fields.
Moreover, it overrides the initial fragment limit set to 1. It is now
possible to handle multiple framgent values.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
bgpd/bgp_flowspec.c
bgpd/bgp_flowspec_util.c
bgpd/bgp_flowspec_util.h
bgpd/bgp_flowspec_vty.c
bgpd/bgp_pbr.c
bgpd/bgp_pbr.h