wpa_supplicant / hostapd
2.5
Main Page
Related Pages
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
src
ap
ndisc_snoop.h
Go to the documentation of this file.
1
5
#ifndef NDISC_SNOOP_H
6
#define NDISC_SNOOP_H
7
8
#if defined(CONFIG_PROXYARP) && defined(CONFIG_IPV6)
9
10
int
ndisc_snoop_init(
struct
hostapd_data
*hapd);
11
void
ndisc_snoop_deinit(
struct
hostapd_data
*hapd);
12
void
sta_ip6addr_del(
struct
hostapd_data
*hapd,
struct
sta_info
*sta);
13
14
#else
/* CONFIG_PROXYARP && CONFIG_IPV6 */
15
16
static
inline
int
ndisc_snoop_init(
struct
hostapd_data
*hapd)
17
{
18
return
0;
19
}
20
21
static
inline
void
ndisc_snoop_deinit(
struct
hostapd_data
*hapd)
22
{
23
}
24
25
static
inline
void
sta_ip6addr_del(
struct
hostapd_data
*hapd,
26
struct
sta_info
*sta)
27
{
28
}
29
30
#endif
/* CONFIG_PROXYARP && CONFIG_IPV6 */
31
32
#endif
/* NDISC_SNOOP_H */
sta_info
Definition:
sta_info.h:44
hostapd_data
hostapd per-BSS data structure
Definition:
hostapd.h:103
Generated on Sun Sep 27 2015 22:08:06 for wpa_supplicant / hostapd by
1.8.6