wpa_supplicant / hostapd 2.0
Data Structures | Functions | Variables

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.
void wpa_supplicant_rx_eapol (void *ctx, const u8 *src_addr, const u8 *buf, size_t len)
int main (int argc, char *argv[])

Variables

struct wpa_driver_opswpa_drivers []
int wpa_debug_level

Detailed Description

WPA Supplicant / privileged helper program.

Copyright
Copyright (c) 2007-2009, Jouni Malinen <j@w1.fi>

This software may be distributed under the terms of the BSD license. See README for more details.


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.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines