path: root/iptables/nft-shared.h
diff options
authorGiuseppe Longo <>2013-09-16 10:58:16 +0200
committerPablo Neira Ayuso <>2013-12-30 23:50:46 +0100
commit217f021925872dcbce4187408762845ae3f6f182 (patch)
tree0f89a883da3b034494f2dac6bbce964011ce5bdc /iptables/nft-shared.h
parent4c4bcbcd2523da740ed02021e51cb20b14fae153 (diff)
xtables: nft-arp: implements is_same op for ARP family
The following patch implements the is_same operation for ARP family needed for searching arp rule. Signed-off-by: Giuseppe Longo <> Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'iptables/nft-shared.h')
1 files changed, 2 insertions, 2 deletions
diff --git a/iptables/nft-shared.h b/iptables/nft-shared.h
index 375c714f..80f2bc6f 100644
--- a/iptables/nft-shared.h
+++ b/iptables/nft-shared.h
@@ -38,8 +38,8 @@ struct xtables_args;
struct nft_family_ops {
int (*add)(struct nft_rule *r, void *data);
- bool (*is_same)(const struct iptables_command_state *a,
- const struct iptables_command_state *b);
+ bool (*is_same)(const void *data_a,
+ const void *data_b);
void (*print_payload)(struct nft_rule_expr *e,
struct nft_rule_expr_iter *iter);
void (*parse_meta)(struct nft_rule_expr *e, uint8_t key,