blob: c990d74ee966612c1bcc495bc559cd96436d97db [file] [log] [blame]
Ben Cheng30692c62013-10-15 18:26:18 -07001#ifndef __LINUX_BRIDGE_EBT_NAT_H
2#define __LINUX_BRIDGE_EBT_NAT_H
3
Christopher Ferrisccfaccd2016-08-24 12:11:31 -07004#include <linux/if_ether.h>
5
Ben Cheng30692c62013-10-15 18:26:18 -07006#define NAT_ARP_BIT (0x00000010)
7struct ebt_nat_info {
8 unsigned char mac[ETH_ALEN];
9 /* EBT_ACCEPT, EBT_DROP, EBT_CONTINUE or EBT_RETURN */
10 int target;
11};
12#define EBT_SNAT_TARGET "snat"
13#define EBT_DNAT_TARGET "dnat"
14
15#endif