summaryrefslogtreecommitdiff
path: root/pbrd/pbr_zebra.c
diff options
context:
space:
mode:
authorG. Paul Ziemba <paulz@labn.net>2023-07-19 07:58:02 -0700
committerG. Paul Ziemba <paulz@labn.net>2023-07-19 08:14:09 -0700
commitbfd3e8e012f22c62f628f836532e9805b10ae493 (patch)
tree193ca20fd87068f0278d34ce63a991aed40c37c5 /pbrd/pbr_zebra.c
parentff10abcc89581c1ed94a45f92fc76daf863c512e (diff)
pbrd: add vlan filters pcp/vlan-id/vlan-flags; ip-protocol any (pbr feature)
Subset: feature in PBR New PBR rule fields: match ip-protocol (was only tcp|udp, now any value in /etc/protocols) match pcp (0-7) match vlan (1-4094) match vlan (tagged|untagged|untagged-or-zero) Filter flags Add filter_bm (flags) field internally to indicate which filter fields should be considered active. Bit definitions as in lib/pbr.h. This commit uses only the PBR_FILTER_PCP bit, but other fields will be added in future commits. (Fixes bug related to determining set/not-set state of pcp filter) Shift vlan filter flags to lib/pbr.h Changes by: Josh Werner <joshuawerner@mitre.org> Eli Baum <ebaum@mitre.org> G. Paul Ziemba <paulz@labn.net> Signed-off-by: G. Paul Ziemba <paulz@labn.net>
Diffstat (limited to 'pbrd/pbr_zebra.c')
0 files changed, 0 insertions, 0 deletions