diff options
author | Philippe Guibert <philippe.guibert@6wind.com> | 2018-06-19 16:02:55 +0200 |
---|---|---|
committer | Philippe Guibert <philippe.guibert@6wind.com> | 2018-06-28 11:08:58 +0200 |
commit | cfaf18ce52fc9ca07dbc696a9a6c6e0d86f801e8 (patch) | |
tree | f7afb5c725146ee3200ec74c45cd0692564f372c /lib | |
parent | bgpd: introduce recursive operations for or flowspec operations (diff) | |
download | frr-cfaf18ce52fc9ca07dbc696a9a6c6e0d86f801e8.tar.xz frr-cfaf18ce52fc9ca07dbc696a9a6c6e0d86f801e8.zip |
bgpd: support for enumerate pkt len
The packet length can be injected from fs entry with an enumerate list;
the negation of the value is also taken into account.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pbr.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -114,6 +114,7 @@ struct pbr_rule { #define MATCH_PORT_DST_RANGE_SET (1 << 5) #define MATCH_DSCP_SET (1 << 6) #define MATCH_DSCP_INVERSE_SET (1 << 7) +#define MATCH_PKT_LEN_INVERSE_SET (1 << 8) extern int zapi_pbr_rule_encode(uint8_t cmd, struct stream *s, struct pbr_rule *zrule); |