2 * Neighbor Discovery snooping for Proxy ARP
3 * Copyright (c) 2014, Qualcomm Atheros, Inc.
5 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
12 #if defined(CONFIG_PROXYARP) && defined(CONFIG_IPV6)
14 int ndisc_snoop_init(struct hostapd_data *hapd);
15 void ndisc_snoop_deinit(struct hostapd_data *hapd);
16 void sta_ip6addr_del(struct hostapd_data *hapd, struct sta_info *sta);
18 #else /* CONFIG_PROXYARP && CONFIG_IPV6 */
20 static inline int ndisc_snoop_init(struct hostapd_data *hapd)
25 static inline void ndisc_snoop_deinit(struct hostapd_data *hapd)
29 static inline void sta_ip6addr_del(struct hostapd_data *hapd,
34 #endif /* CONFIG_PROXYARP && CONFIG_IPV6 */
36 #endif /* NDISC_SNOOP_H */