]> git.ipfire.org Git - thirdparty/hostap.git/blame - src/ap/ndisc_snoop.h
Check pbkdf2_sha1() result when generating PSK from PSK file
[thirdparty/hostap.git] / src / ap / ndisc_snoop.h
CommitLineData
bd00c431
KP
1/*
2 * Neighbor Discovery snooping for Proxy ARP
3 * Copyright (c) 2014, Qualcomm Atheros, Inc.
4 *
5 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
7 */
8
9#ifndef NDISC_SNOOP_H
10#define NDISC_SNOOP_H
11
a437378f 12#if defined(CONFIG_PROXYARP) && defined(CONFIG_IPV6)
bd00c431
KP
13
14int ndisc_snoop_init(struct hostapd_data *hapd);
15void ndisc_snoop_deinit(struct hostapd_data *hapd);
16void sta_ip6addr_del(struct hostapd_data *hapd, struct sta_info *sta);
17
a437378f 18#else /* CONFIG_PROXYARP && CONFIG_IPV6 */
bd00c431
KP
19
20static inline int ndisc_snoop_init(struct hostapd_data *hapd)
21{
22 return 0;
23}
24
25static inline void ndisc_snoop_deinit(struct hostapd_data *hapd)
26{
27}
28
29static inline void sta_ip6addr_del(struct hostapd_data *hapd,
30 struct sta_info *sta)
31{
32}
33
a437378f 34#endif /* CONFIG_PROXYARP && CONFIG_IPV6 */
bd00c431
KP
35
36#endif /* NDISC_SNOOP_H */