diff options
author | Florian Westphal <fw@strlen.de> | 2018-05-04 22:33:35 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2018-05-04 23:21:18 +0200 |
commit | 0ab58e397ca613a1996cb9767e221f71e752812e (patch) | |
tree | a20821c675167cfa61bc20800fbad2f18e725dce /iptables/nft-shared.h | |
parent | 734ad4020e6ff0c47c27b3b9096cbc996b5e1ee7 (diff) |
xtables-compat: ebtables: handle mac masks properly
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'iptables/nft-shared.h')
-rw-r--r-- | iptables/nft-shared.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/iptables/nft-shared.h b/iptables/nft-shared.h index e13a1a85..525f3f0e 100644 --- a/iptables/nft-shared.h +++ b/iptables/nft-shared.h @@ -107,6 +107,7 @@ struct nft_family_ops { void add_meta(struct nftnl_rule *r, uint32_t key); void add_payload(struct nftnl_rule *r, int offset, int len, uint32_t base); +void add_bitwise(struct nftnl_rule *r, uint8_t *mask, size_t len); void add_bitwise_u16(struct nftnl_rule *r, int mask, int xor); void add_cmp_ptr(struct nftnl_rule *r, uint32_t op, void *data, size_t len); void add_cmp_u8(struct nftnl_rule *r, uint8_t val, uint32_t op); |