summaryrefslogtreecommitdiffstats
path: root/iptables/nft-arp.h
blob: 05889b4941a2c21759bfc245fec753af3e684d0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 nftnl_rule *r,
					 struct arptables_command_state *cs);

#endif