diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2006-11-29 02:35:40 +0100 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-02 21:31:32 -0800 |
commit | d12cdc3ccf140bd2febef1c1be92284571da983f (patch) | |
tree | b841cf72562e8179c9c187494a6fe4a3c2ddb184 /include/linux/netfilter_bridge/ebt_nat.h | |
parent | baf7b1e11282127e068d149825cccec002091d61 (diff) | |
download | kernel_samsung_espresso10-d12cdc3ccf140bd2febef1c1be92284571da983f.zip kernel_samsung_espresso10-d12cdc3ccf140bd2febef1c1be92284571da983f.tar.gz kernel_samsung_espresso10-d12cdc3ccf140bd2febef1c1be92284571da983f.tar.bz2 |
[NETFILTER]: ebtables: add --snap-arp option
The attached patch adds --snat-arp support, which makes it possible to
change the source mac address in both the mac header and the arp header
with one rule.
Signed-off-by: Bart De Schuymer <bdschuym@pandora.be>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/linux/netfilter_bridge/ebt_nat.h')
-rw-r--r-- | include/linux/netfilter_bridge/ebt_nat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/netfilter_bridge/ebt_nat.h b/include/linux/netfilter_bridge/ebt_nat.h index 26fd90d..435b886 100644 --- a/include/linux/netfilter_bridge/ebt_nat.h +++ b/include/linux/netfilter_bridge/ebt_nat.h @@ -1,6 +1,7 @@ #ifndef __LINUX_BRIDGE_EBT_NAT_H #define __LINUX_BRIDGE_EBT_NAT_H +#define NAT_ARP_BIT (0x00000010) struct ebt_nat_info { unsigned char mac[ETH_ALEN]; |