summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2018-06-19 16:02:55 +0200
committerPhilippe Guibert <philippe.guibert@6wind.com>2018-06-28 11:08:58 +0200
commitcfaf18ce52fc9ca07dbc696a9a6c6e0d86f801e8 (patch)
treef7afb5c725146ee3200ec74c45cd0692564f372c /lib
parentbgpd: introduce recursive operations for or flowspec operations (diff)
downloadfrr-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pbr.h b/lib/pbr.h
index 36a47d049..4120d5db2 100644
--- a/lib/pbr.h
+++ b/lib/pbr.h
@@ -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);