]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_ecommunity.c
bgpd: support for redirect ipv6 simpson method
authorPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 16 Oct 2019 08:05:36 +0000 (10:05 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Fri, 21 Aug 2020 11:37:08 +0000 (13:37 +0200)
commitf01e580fc022be15b1f70a3407c898d92b0509ee
tree9fc603bf9fbd6beede0f3a21049b72ef29d82d18
parent4088180002478f772332aefbac54f9148f20018f
bgpd: support for redirect ipv6 simpson method

this commit supports [0] where ipv6 address is encoded in nexthop
attribute of nlri, and not in bgp redirect ip extended community. the
community contains only duplicate information or not.
Adding to this, because an action or a rule needs to apply to either
ipv4 or ipv6 flow, modify some internal structures so as to be aware of
which flow needs to be filtered. This work is needed when an ipv6
flowspec rule without ip addresses is mentioned, we need to know which
afi is served. Also, this work will be useful when doing redirect VRF.

[0] draft-simpson-idr-flowspec-redirect-02.txt

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