]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_flowspec_vty.c
bgpd: ipv6 flowspec address decoding and validation
authorPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 16 Oct 2019 06:42:30 +0000 (08:42 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Fri, 21 Aug 2020 11:37:08 +0000 (13:37 +0200)
commit9cec4121623c18eb5d826420e2078e2a78242362
tree345c4ced2b1c8a527dc8dd11e7a2b2e0c2c71599
parent1840384bae2a0ab4d79781bda300ce8f54313d3b
bgpd: ipv6 flowspec address decoding and validation

as per [0], ipv6 adress format introduces an ipv6 offset that needs to
be extracted too. The change include the validation, decoding for
further usage with policy-routing and decoding for dumping.

[0] https://tools.ietf.org/html/draft-ietf-idr-flow-spec-v6-09

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