1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ |
---|---|
2 | #ifndef __LINUX_BRIDGE_EBT_NAT_H |
3 | #define __LINUX_BRIDGE_EBT_NAT_H |
4 | |
5 | #include <linux/if_ether.h> |
6 | |
7 | #define NAT_ARP_BIT (0x00000010) |
8 | struct ebt_nat_info { |
9 | unsigned char mac[ETH_ALEN]; |
10 | /* EBT_ACCEPT, EBT_DROP, EBT_CONTINUE or EBT_RETURN */ |
11 | int target; |
12 | }; |
13 | #define EBT_SNAT_TARGET "snat" |
14 | #define EBT_DNAT_TARGET "dnat" |
15 | |
16 | #endif |
17 |