aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/x_snoop.h
diff options
context:
space:
mode:
authorKyeyoon Park <kyeyoonp@qca.qualcomm.com>2014-11-01 05:15:19 (GMT)
committerJouni Malinen <j@w1.fi>2014-11-19 14:25:13 (GMT)
commit5c58944d08718e7a8aefddd0e18825c288865604 (patch)
treea70638743cbf54233365274cd781e9fedc75d156 /src/ap/x_snoop.h
parented4ddb6d77ae0aa35c0338774c7153ec3e63306e (diff)
downloadhostap-5c58944d08718e7a8aefddd0e18825c288865604.zip
hostap-5c58944d08718e7a8aefddd0e18825c288865604.tar.gz
hostap-5c58944d08718e7a8aefddd0e18825c288865604.tar.bz2
AP: Add multicast-to-unicast conversion send for "x_snoop"
Multicast-to-unicast conversion send will be needed in various part of Proxy ARP and DGAF Disable. Signed-off-by: Kyeyoon Park <kyeyoonp@qca.qualcomm.com>
Diffstat (limited to 'src/ap/x_snoop.h')
-rw-r--r--src/ap/x_snoop.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ap/x_snoop.h b/src/ap/x_snoop.h
index 67ca0c6..e43a78d 100644
--- a/src/ap/x_snoop.h
+++ b/src/ap/x_snoop.h
@@ -19,6 +19,9 @@ x_snoop_get_l2_packet(struct hostapd_data *hapd,
void (*handler)(void *ctx, const u8 *src_addr,
const u8 *buf, size_t len),
enum l2_packet_filter_type type);
+void x_snoop_mcast_to_ucast_convert_send(struct hostapd_data *hapd,
+ struct sta_info *sta, u8 *buf,
+ size_t len);
void x_snoop_deinit(struct hostapd_data *hapd);
#else /* CONFIG_PROXYARP */
@@ -37,6 +40,13 @@ x_snoop_get_l2_packet(struct hostapd_data *hapd,
return NULL;
}
+static inline void
+x_snoop_mcast_to_ucast_convert_send(struct hostapd_data *hapd,
+ struct sta_info *sta, void *buf,
+ size_t len)
+{
+}
+
static inline void x_snoop_deinit(struct hostapd_data *hapd)
{
}