diff options
author | Giuseppe Longo <giuseppelng@gmail.com> | 2013-09-16 10:58:16 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-12-30 23:50:46 +0100 |
commit | 217f021925872dcbce4187408762845ae3f6f182 (patch) | |
tree | 0f89a883da3b034494f2dac6bbce964011ce5bdc /iptables/nft.h | |
parent | 4c4bcbcd2523da740ed02021e51cb20b14fae153 (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 <giuseppelng@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables/nft.h')
-rw-r--r-- | iptables/nft.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/iptables/nft.h b/iptables/nft.h index 25275cee..09d3e0c5 100644 --- a/iptables/nft.h +++ b/iptables/nft.h @@ -162,4 +162,6 @@ int nft_arp_rule_insert(struct nft_handle *h, const char *chain, const char *table, struct arpt_entry *fw, int rulenum, bool verbose); +void nft_rule_to_arpt_entry(struct nft_rule *r, struct arpt_entry *fw); + #endif |