wpa_auth_glue.c File Reference

#include "utils/includes.h"
#include "utils/common.h"
#include "common/ieee802_11_defs.h"
#include "eapol_auth/eapol_auth_sm.h"
#include "eapol_auth/eapol_auth_sm_i.h"
#include "eap_server/eap.h"
#include "l2_packet/l2_packet.h"
#include "drivers/driver.h"
#include "hostapd.h"
#include "ieee802_1x.h"
#include "preauth_auth.h"
#include "sta_info.h"
#include "tkip_countermeasures.h"
#include "ap_drv_ops.h"
#include "ap_config.h"
#include "wpa_auth.h"
Include dependency graph for wpa_auth_glue.c:

Go to the source code of this file.

Classes

struct  wpa_auth_iface_iter_data

Functions

void hostapd_deinit_wpa (struct hostapd_data *hapd)
void hostapd_reconfig_wpa (struct hostapd_data *hapd)
int hostapd_setup_wpa (struct hostapd_data *hapd)
static void hostapd_wpa_auth_conf (struct hostapd_bss_config *conf, struct wpa_auth_config *wconf)
static void hostapd_wpa_auth_disconnect (void *ctx, const u8 *addr, u16 reason)
static int hostapd_wpa_auth_for_each_auth (void *ctx, int(*cb)(struct wpa_authenticator *sm, void *ctx), void *cb_ctx)
static int hostapd_wpa_auth_for_each_sta (void *ctx, int(*cb)(struct wpa_state_machine *sm, void *ctx), void *cb_ctx)
static int hostapd_wpa_auth_get_eapol (void *ctx, const u8 *addr, wpa_eapol_variable var)
static int hostapd_wpa_auth_get_msk (void *ctx, const u8 *addr, u8 *msk, size_t *len)
static const u8hostapd_wpa_auth_get_psk (void *ctx, const u8 *addr, const u8 *prev_psk)
static int hostapd_wpa_auth_get_seqnum (void *ctx, const u8 *addr, int idx, u8 *seq)
static void hostapd_wpa_auth_logger (void *ctx, const u8 *addr, logger_level level, const char *txt)
static void hostapd_wpa_auth_mic_failure_report (void *ctx, const u8 *addr)
static int hostapd_wpa_auth_send_eapol (void *ctx, const u8 *addr, const u8 *data, size_t data_len, int encrypt)
static int hostapd_wpa_auth_send_ether (void *ctx, const u8 *dst, u16 proto, const u8 *data, size_t data_len)
static void hostapd_wpa_auth_set_eapol (void *ctx, const u8 *addr, wpa_eapol_variable var, int value)
static int hostapd_wpa_auth_set_key (void *ctx, int vlan_id, enum wpa_alg alg, const u8 *addr, int idx, u8 *key, size_t key_len)
static int wpa_auth_iface_iter (struct hostapd_iface *iface, void *ctx)

Function Documentation

void hostapd_deinit_wpa ( struct hostapd_data hapd  ) 

Definition at line 460 of file wpa_auth_glue.c.

void hostapd_reconfig_wpa ( struct hostapd_data hapd  ) 

Definition at line 452 of file wpa_auth_glue.c.

int hostapd_setup_wpa ( struct hostapd_data hapd  ) 

Definition at line 379 of file wpa_auth_glue.c.

static void hostapd_wpa_auth_conf ( struct hostapd_bss_config conf,
struct wpa_auth_config wconf 
) [static]

Definition at line 34 of file wpa_auth_glue.c.

static void hostapd_wpa_auth_disconnect ( void *  ctx,
const u8 addr,
u16  reason 
) [static]

Definition at line 103 of file wpa_auth_glue.c.

static int hostapd_wpa_auth_for_each_auth ( void *  ctx,
int(*)(struct wpa_authenticator *sm, void *ctx)  cb,
void *  cb_ctx 
) [static]

Definition at line 282 of file wpa_auth_glue.c.

static int hostapd_wpa_auth_for_each_sta ( void *  ctx,
int(*)(struct wpa_state_machine *sm, void *ctx)  cb,
void *  cb_ctx 
) [static]

Definition at line 249 of file wpa_auth_glue.c.

static int hostapd_wpa_auth_get_eapol ( void *  ctx,
const u8 addr,
wpa_eapol_variable  var 
) [static]

Definition at line 163 of file wpa_auth_glue.c.

static int hostapd_wpa_auth_get_msk ( void *  ctx,
const u8 addr,
u8 msk,
size_t *  len 
) [static]

Definition at line 189 of file wpa_auth_glue.c.

static const u8* hostapd_wpa_auth_get_psk ( void *  ctx,
const u8 addr,
const u8 prev_psk 
) [static]

Definition at line 181 of file wpa_auth_glue.c.

static int hostapd_wpa_auth_get_seqnum ( void *  ctx,
const u8 addr,
int  idx,
u8 seq 
) [static]

Definition at line 232 of file wpa_auth_glue.c.

static void hostapd_wpa_auth_logger ( void *  ctx,
const u8 addr,
logger_level  level,
const char *  txt 
) [static]

Definition at line 78 of file wpa_auth_glue.c.

static void hostapd_wpa_auth_mic_failure_report ( void *  ctx,
const u8 addr 
) [static]

Definition at line 114 of file wpa_auth_glue.c.

static int hostapd_wpa_auth_send_eapol ( void *  ctx,
const u8 addr,
const u8 data,
size_t  data_len,
int  encrypt 
) [static]

Definition at line 240 of file wpa_auth_glue.c.

static int hostapd_wpa_auth_send_ether ( void *  ctx,
const u8 dst,
u16  proto,
const u8 data,
size_t  data_len 
) [static]

Definition at line 297 of file wpa_auth_glue.c.

static void hostapd_wpa_auth_set_eapol ( void *  ctx,
const u8 addr,
wpa_eapol_variable  var,
int  value 
) [static]

Definition at line 121 of file wpa_auth_glue.c.

static int hostapd_wpa_auth_set_key ( void *  ctx,
int  vlan_id,
enum wpa_alg  alg,
const u8 addr,
int  idx,
u8 key,
size_t  key_len 
) [static]

Definition at line 214 of file wpa_auth_glue.c.

static int wpa_auth_iface_iter ( struct hostapd_iface iface,
void *  ctx 
) [static]

Definition at line 269 of file wpa_auth_glue.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


wpa_supplicant
Author(s): Package maintained by Blaise Gassend
autogenerated on Fri Jan 11 10:05:06 2013