]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: extend enumerate API to handle or operations
authorPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 18 Jun 2018 09:18:21 +0000 (11:18 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 28 Jun 2018 06:52:15 +0000 (08:52 +0200)
commitf7b2e630e4dcad491d20337df357d16b42967c3c
tree4a91767290b933e7f25d899e662dc4bb5ea9f590
parent1a1f4a4c69f5ea36a72a6c824fe7c0f797d41649
bgpd: extend enumerate API to handle or operations

The flowspec enumerate list can either be and values or or values.
In the latter case, a list is created that will be used later.
Also, the API supports the check for both and or or operations. This API
does not permit to handle both and and or operations at the same time.
The list will have to be either and or or. An other API retrieves the
operator unary value that is used: and or or. or 0 is the two operators
are used at the same time.

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