summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/net/cfg80211.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 2052fa44be73..f19fdda44434 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -5232,6 +5232,16 @@ void cfg80211_report_wowlan_wakeup(struct wireless_dev *wdev,
void cfg80211_crit_proto_stopped(struct wireless_dev *wdev, gfp_t gfp);
/**
+ * cfg80211_is_gratuitous_arp_unsolicited_na - packet is grat. ARP/unsol. NA
+ * @skb: the input packet, must be an ethernet frame already
+ *
+ * Return: %true if the packet is a gratuitous ARP or unsolicited NA packet.
+ * This is used to drop packets that shouldn't occur because the AP implements
+ * a proxy service.
+ */
+bool cfg80211_is_gratuitous_arp_unsolicited_na(struct sk_buff *skb);
+
+/**
* ieee80211_get_num_supported_channels - get number of channels device has
* @wiphy: the wiphy
*