diff options
| author | G. Paul Ziemba <paulz@labn.net> | 2023-08-01 06:49:38 -0700 |
|---|---|---|
| committer | G. Paul Ziemba <paulz@labn.net> | 2023-08-08 10:18:22 -0700 |
| commit | 5572f45d51c587691384a9ec3a195e6a01540930 (patch) | |
| tree | 2f4eb5f788a0194b8ecf49fb5119df25817d5385 /lib/pbr.h | |
| parent | 09262f1b720ff22631e34222321099187bfd37d8 (diff) | |
pbrd: PBR_FILTER_DSFIELD -> {PBR_FILTER_DSCP,PBR_FILTER_ECN}
DSCP and ECN matching are configured independently. Maintain
these values in independent fields in pbrd, zapi, and zebra.
Signed-off-by: G. Paul Ziemba <paulz@labn.net>
Diffstat (limited to 'lib/pbr.h')
| -rw-r--r-- | lib/pbr.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -37,7 +37,8 @@ struct pbr_filter { #define PBR_FILTER_IP_PROTOCOL (1 << 5) #define PBR_FILTER_SRC_PORT_RANGE (1 << 6) #define PBR_FILTER_DST_PORT_RANGE (1 << 7) -#define PBR_FILTER_DSFIELD (1 << 8) +#define PBR_FILTER_DSCP (1 << 8) +#define PBR_FILTER_ECN (1 << 9) #define PBR_FILTER_PCP (1 << 10) #define PBR_FILTER_VLAN_FLAGS (1 << 11) #define PBR_FILTER_VLAN_ID (1 << 12) |
