wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Structures | Functions
wpa_priv.c File Reference

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[])
 

Detailed Description

WPA Supplicant / privileged helper program.

Function Documentation

void wpa_supplicant_event ( void *  ctx,
enum wpa_event_type  event,
union wpa_event_data data 
)

Report a driver event for wpa_supplicant.

Parameters
ctxContext pointer (wpa_s); this is the ctx variable registered with struct wpa_driver_ops::init()
eventevent type (defined above)
datapossible extra data for the event

Driver wrapper code should call this function whenever an event is received from the driver.