]> git.puffer.fish Git - mirror/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>
Mon, 2 Jul 2018 07:20:39 +0000 (09:20 +0200)
commit6d47669ac11b045c9adba9dcfc1161f6de7180a6
treea7ea03a4d596b1dae9c1630803b8f961e8b52ed6
parentf43d659eee85297f583e18e9d594459e3fc0f1d6
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