summaryrefslogtreecommitdiff
path: root/pbrd/pbr_main.c
diff options
context:
space:
mode:
authorG. Paul Ziemba <paulz@labn.net>2023-08-13 13:55:06 -0700
committerG. Paul Ziemba <paulz@labn.net>2023-08-16 07:08:49 -0700
commitd04cf8052556340946a2c48ddc5a4c85db468503 (patch)
tree4f2bcb66b686988f5d70870275ee5ebae3114414 /pbrd/pbr_main.c
parentbd6a00e8f7ab48e6ab20673474c6eb1e879cb5c4 (diff)
pbrd: add advisory flag PBR_ACTION_DROP
PBR configuration may specify "set nexthop blackhole" which, for linux dataplanes, is implemented as a table with a blackhole route. Other dataplanes might implement this action as an explicit packet-filtering "drop" action instead of a route. This new flag PBR_ACTION_DROP is now set when a rule has "set nexthop blackhole" as an aid to other dataplanes. Signed-off-by: G. Paul Ziemba <paulz@labn.net>
Diffstat (limited to 'pbrd/pbr_main.c')
0 files changed, 0 insertions, 0 deletions