summaryrefslogtreecommitdiffstats
path: root/lib/pbr.h
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2018-06-20 13:55:20 +0200
committerPhilippe Guibert <philippe.guibert@6wind.com>2018-06-28 11:08:58 +0200
commit6f5617d877674b85a7bdb923e71ab399ab6cab2f (patch)
tree10d2ebeee2a21b577047d50aa8871b0d8b3ad763 /lib/pbr.h
parentbgpd: align fragment flowspec decoding with tcpflags (diff)
downloadfrr-6f5617d877674b85a7bdb923e71ab399ab6cab2f.tar.xz
frr-6f5617d877674b85a7bdb923e71ab399ab6cab2f.zip
bgpd: support for flowspec fragment list into policy routing
The flowspec fragment attribute is taken into account to be pushed in BGP policy routing entries. Valid values are enumerate list of 1, 2, 4, or 8 values. no combined value is supported yet. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'lib/pbr.h')
-rw-r--r--lib/pbr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pbr.h b/lib/pbr.h
index 4120d5db2..f0c6285e0 100644
--- a/lib/pbr.h
+++ b/lib/pbr.h
@@ -115,6 +115,7 @@ struct pbr_rule {
#define MATCH_DSCP_SET (1 << 6)
#define MATCH_DSCP_INVERSE_SET (1 << 7)
#define MATCH_PKT_LEN_INVERSE_SET (1 << 8)
+#define MATCH_FRAGMENT_INVERSE_SET (1 << 9)
extern int zapi_pbr_rule_encode(uint8_t cmd, struct stream *s,
struct pbr_rule *zrule);