Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef __LINUX_BRIDGE_EBT_NAT_H |
| 2 | #define __LINUX_BRIDGE_EBT_NAT_H |
| 3 | |
Bart De Schuymer | d12cdc3 | 2006-11-29 02:35:40 +0100 | [diff] [blame] | 4 | #define NAT_ARP_BIT (0x00000010) |
Eric Dumazet | d94d9fe | 2009-11-04 09:50:58 -0800 | [diff] [blame] | 5 | struct ebt_nat_info { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | unsigned char mac[ETH_ALEN]; |
| 7 | /* EBT_ACCEPT, EBT_DROP, EBT_CONTINUE or EBT_RETURN */ |
| 8 | int target; |
| 9 | }; |
| 10 | #define EBT_SNAT_TARGET "snat" |
| 11 | #define EBT_DNAT_TARGET "dnat" |
| 12 | |
| 13 | #endif |