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/pbr.h | |
| parent | 56707a36d00eaa26857eb8c96021d664366063c6 (diff) | |
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/pbr.h')
| -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); |
