diff options
author | Donald Sharp <sharpd@nvidia.com> | 2021-06-04 17:58:23 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2021-07-08 17:12:47 +0200 |
commit | 8096bd72aa8b775d8ce8d7d085b79d8a56bbd686 (patch) | |
tree | 1f45f70659365355ac61169dabe2d8c86b76634d /lib/pbr.h | |
parent | zebra: Add nl_attr_put8 so we can put uint8_t in netlink messages (diff) | |
download | frr-8096bd72aa8b775d8ce8d7d085b79d8a56bbd686.tar.xz frr-8096bd72aa8b775d8ce8d7d085b79d8a56bbd686.zip |
zebra: Add ability to encode/decode netlink FRA_IP_PROTO for rule changes
Encode/Decode the FRA_IP_PROTO but do nothing with it at the moment.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/pbr.h')
-rw-r--r-- | lib/pbr.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -49,7 +49,8 @@ struct pbr_filter { #define PBR_FILTER_PROTO (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_DSFIELD (1 << 8) +#define PBR_FILTER_IP_PROTOCOL (1 << 9) #define PBR_DSFIELD_DSCP (0xfc) /* Upper 6 bits of DS field: DSCP */ #define PBR_DSFIELD_ECN (0x03) /* Lower 2 bits of DS field: BCN */ |