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
utils
ip_addr.h
Go to the documentation of this file.
1
5
#ifndef IP_ADDR_H
6
#define IP_ADDR_H
7
8
struct
hostapd_ip_addr
{
9
int
af;
/* AF_INET / AF_INET6 */
10
union
{
11
struct
in_addr v4;
12
#ifdef CONFIG_IPV6
13
struct
in6_addr v6;
14
#endif
/* CONFIG_IPV6 */
15
u8 max_len[16];
16
} u;
17
};
18
19
const
char
* hostapd_ip_txt(
const
struct
hostapd_ip_addr
*addr,
char
*buf,
20
size_t
buflen);
21
int
hostapd_parse_ip_addr(
const
char
*txt,
struct
hostapd_ip_addr
*addr);
22
23
#endif
/* IP_ADDR_H */
hostapd_ip_addr
Definition:
ip_addr.h:8
Generated on Sun Sep 27 2015 22:08:08 for wpa_supplicant / hostapd by
1.8.6