wpa_supplicant / hostapd
2.5
|
WPA Supplicant / privileged helper program. More...
#include "includes.h"
#include <sys/un.h>
#include <sys/stat.h>
#include "common.h"
#include "eloop.h"
#include "common/version.h"
#include "drivers/driver.h"
#include "l2_packet/l2_packet.h"
#include "common/privsep_commands.h"
#include "common/ieee802_11_defs.h"
Data Structures | |
struct | wpa_priv_interface |
Functions | |
void | wpa_supplicant_event (void *ctx, enum wpa_event_type event, union wpa_event_data *data) |
Report a driver event for wpa_supplicant. More... | |
void | wpa_supplicant_rx_eapol (void *ctx, const u8 *src_addr, const u8 *buf, size_t len) |
int | main (int argc, char *argv[]) |
WPA Supplicant / privileged helper program.
void wpa_supplicant_event | ( | void * | ctx, |
enum wpa_event_type | event, | ||
union wpa_event_data * | data | ||
) |
Report a driver event for wpa_supplicant.
ctx | Context pointer (wpa_s); this is the ctx variable registered with struct wpa_driver_ops::init() |
event | event type (defined above) |
data | possible extra data for the event |
Driver wrapper code should call this function whenever an event is received from the driver.