summaryrefslogtreecommitdiffstats
path: root/iptables/nft-arp.h
diff options
context:
space:
mode:
Diffstat (limited to 'iptables/nft-arp.h')
-rw-r--r--iptables/nft-arp.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/iptables/nft-arp.h b/iptables/nft-arp.h
new file mode 100644
index 00000000..930dae5c
--- /dev/null
+++ b/iptables/nft-arp.h
@@ -0,0 +1,16 @@
+#ifndef _NFT_ARP_H_
+#define _NFT_ARP_H_
+
+extern char *opcodes[];
+#define NUMOPCODES 9
+
+struct arptables_command_state {
+ struct arpt_entry fw;
+ struct xtables_target *target;
+ const char *jumpto;
+};
+
+void nft_rule_to_arptables_command_state(struct nft_rule *r,
+ struct arptables_command_state *cs);
+
+#endif