diff options
| author | Johannes Berg <johannes.berg@intel.com> | 2016-02-04 13:31:18 +0100 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2017-11-18 19:27:08 +0100 |
| commit | 1212bd2498a4852c104f6cf7557f7c1ac4c2f75c (patch) | |
| tree | 76d1506ba238b16b004554dad5663103ffa7c369 /include/linux/inetdevice.h | |
| parent | 8c791e8f78f0de5a6e03f418a8ff354f2f3ea777 (diff) | |
ipv4: add option to drop gratuitous ARP packets
In certain 802.11 wireless deployments, there will be ARP proxies
that use knowledge of the network to correctly answer requests.
To prevent gratuitous ARP frames on the shared medium from being
a problem, on such deployments wireless needs to drop them.
Enable this by providing an option called "drop_gratuitous_arp".
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: danielhk <daniel_hk>
Diffstat (limited to 'include/linux/inetdevice.h')
| -rw-r--r-- | include/linux/inetdevice.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/inetdevice.h b/include/linux/inetdevice.h index b5d64f1b4..95527f46c 100644 --- a/include/linux/inetdevice.h +++ b/include/linux/inetdevice.h @@ -40,6 +40,7 @@ enum IPV4_DEVCONF_PROXY_ARP_PVLAN, IPV4_DEVCONF_ROUTE_LOCALNET, IPV4_DEVCONF_DROP_UNICAST_IN_L2_MULTICAST, + IPV4_DEVCONF_DROP_GRATUITOUS_ARP, __IPV4_DEVCONF_MAX }; |
