]> git.proxmox.com Git - mirror_frr.git/commit - lib/prefix.c
lib: add family attribute for flowspec prefix structure
authorPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 15 Oct 2019 13:01:39 +0000 (15:01 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Fri, 21 Aug 2020 11:37:08 +0000 (13:37 +0200)
commite4552d667aa43a518c5adaf3f06295be05c01d57
tree21246c810c9c7ee7e55071b3a8e309f0a39e5e43
parent92b4f625d53df3b29a8b5075029b031cc4016e8b
lib: add family attribute for flowspec prefix structure

to recognize whether a flowspec prefix has been carried out by
ipv4 flowspec or ipv6 flowspec ( actually, the hypothesis is that only
ipv4 flowspec is supported), then a new attribute should contain the
family value: AF_INET or AF_INET6. That value will be further used in
the BGP flowspec code.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
lib/prefix.c
lib/prefix.h