summaryrefslogtreecommitdiffstats
path: root/iptables/nft-arp.h
blob: 930dae5c398d83d6516b5d05922c70ec0083806c (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 nft_rule *r,
					 struct arptables_command_state *cs);

#endif