]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_pbr.c
bgpd: add bgp_pbr_route structure
authorPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 8 Mar 2018 16:41:15 +0000 (17:41 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 3 May 2018 13:15:07 +0000 (15:15 +0200)
commit162391534fa94553941e33cb4a23d38a6381cd68
tree5bdd7743f3a497a5c4436f4f24088338d12c0416
parent2f248efbf77e64495804a5a1d7e6b749b0fd9a50
bgpd: add bgp_pbr_route structure

This structure is the model exchange between some bgp services like
flowspec and the policy routing service. This structure reflects what
the nlri entry means. To handle that structure, a dump routine is made
available. Also, a validation function is here to cancel a policy route
installation, whenever it is not possible to install the requested
policy routing.

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