diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2018-06-21 12:29:18 +0200 |
|---|---|---|
| committer | Philippe Guibert <philippe.guibert@6wind.com> | 2018-06-28 11:08:59 +0200 |
| commit | 3bed23633855b8944f75ca869b0ac060ee271bb7 (patch) | |
| tree | f74cd6a2f4498eec51f3b5e44c4960db220d7cab /lib/pbr.h | |
| parent | da3fa38394adad5b892f74fd9009bd7cde76404c (diff) | |
bgpd: add an icmp flag for flowspec icmp entries
Some values for icmp type/code can not be encoded like port source or
port destination. This is the case of 0 value that is authorized for
icmp.
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
@@ -116,6 +116,7 @@ struct pbr_rule { #define MATCH_DSCP_INVERSE_SET (1 << 7) #define MATCH_PKT_LEN_INVERSE_SET (1 << 8) #define MATCH_FRAGMENT_INVERSE_SET (1 << 9) +#define MATCH_ICMP_SET (1 << 10) extern int zapi_pbr_rule_encode(uint8_t cmd, struct stream *s, struct pbr_rule *zrule); |
