Ben Cheng | 30692c6 | 2013-10-15 18:26:18 -0700 | [diff] [blame] | 1 | #ifndef __LINUX_BRIDGE_EBT_NAT_H |
| 2 | #define __LINUX_BRIDGE_EBT_NAT_H |
| 3 | |
Christopher Ferris | ccfaccd | 2016-08-24 12:11:31 -0700 | [diff] [blame] | 4 | #include <linux/if_ether.h> |
| 5 | |
Ben Cheng | 30692c6 | 2013-10-15 18:26:18 -0700 | [diff] [blame] | 6 | #define NAT_ARP_BIT (0x00000010) |
| 7 | struct 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 |