This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
2005-04-16 22:20:36 +00:00
|
|
|
#ifndef __LINUX_BRIDGE_EBT_NAT_H
|
|
|
|
#define __LINUX_BRIDGE_EBT_NAT_H
|
|
|
|
|
2006-11-29 01:35:40 +00:00
|
|
|
#define NAT_ARP_BIT (0x00000010)
|
2009-11-04 17:50:58 +00:00
|
|
|
struct ebt_nat_info {
|
2005-04-16 22:20:36 +00:00
|
|
|
unsigned char mac[ETH_ALEN];
|
|
|
|
/* EBT_ACCEPT, EBT_DROP, EBT_CONTINUE or EBT_RETURN */
|
|
|
|
int target;
|
|
|
|
};
|
|
|
|
#define EBT_SNAT_TARGET "snat"
|
|
|
|
#define EBT_DNAT_TARGET "dnat"
|
|
|
|
|
|
|
|
#endif
|