diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2019-06-06 17:31:46 +0200 | 
|---|---|---|
| committer | Philippe Guibert <philippe.guibert@6wind.com> | 2019-07-08 08:36:45 +0200 | 
| commit | f449d22396d770330906d860f496a830117f2789 (patch) | |
| tree | 9b1185954d560e408fe748de4a01da9c3e468cbe /lib/pbr.h | |
| parent | c682502cd723f0f6f8a0f64607bc35f736b4e635 (diff) | |
bgp, zebra, lib: add protocol support for iptables
in addition to support for tcpflags, it is possible to filter on any
protocol. the filtering can then be based with iptables.
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
@@ -121,6 +121,7 @@ struct pbr_rule {  #define MATCH_PKT_LEN_INVERSE_SET	(1 << 8)  #define MATCH_FRAGMENT_INVERSE_SET	(1 << 9)  #define MATCH_ICMP_SET			(1 << 10) +#define MATCH_PROTOCOL_SET		(1 << 11)  extern int zapi_pbr_rule_encode(uint8_t cmd, struct stream *s,  				struct pbr_rule *zrule);  | 
