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
drivers
netlink.h
Go to the documentation of this file.
1
5
#ifndef NETLINK_H
6
#define NETLINK_H
7
8
struct
netlink_data
;
9
struct
ifinfomsg
;
10
11
struct
netlink_config
{
12
void
*ctx;
13
void (*newlink_cb)(
void
*ctx,
struct
ifinfomsg
*ifi, u8 *buf,
14
size_t
len);
15
void (*dellink_cb)(
void
*ctx,
struct
ifinfomsg
*ifi, u8 *buf,
16
size_t
len);
17
};
18
19
struct
netlink_data
* netlink_init(
struct
netlink_config
*cfg);
20
void
netlink_deinit(
struct
netlink_data
*netlink);
21
int
netlink_send_oper_ifla(
struct
netlink_data
*netlink,
int
ifindex,
22
int
linkmode,
int
operstate);
23
24
#endif
/* NETLINK_H */
netlink_config
Definition:
netlink.h:11
netlink_data
Definition:
netlink.c:13
ifinfomsg
Definition:
priv_netlink.h:89
Generated on Sun Sep 27 2015 22:08:07 for wpa_supplicant / hostapd by
1.8.6