diff options
author | Philippe Guibert <philippe.guibert@6wind.com> | 2018-06-20 13:55:20 +0200 |
---|---|---|
committer | Philippe Guibert <philippe.guibert@6wind.com> | 2018-06-28 11:08:58 +0200 |
commit | 6f5617d877674b85a7bdb923e71ab399ab6cab2f (patch) | |
tree | 10d2ebeee2a21b577047d50aa8871b0d8b3ad763 /lib/pbr.h | |
parent | bgpd: align fragment flowspec decoding with tcpflags (diff) | |
download | frr-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |