$search

test_wpa.c File Reference

#include "includes.h"
#include "common.h"
#include "eloop.h"
#include "common/ieee802_11_defs.h"
#include "../config.h"
#include "rsn_supp/wpa.h"
#include "rsn_supp/wpa_ie.h"
#include "../hostapd/wpa.h"
Include dependency graph for test_wpa.c:

Go to the source code of this file.

Classes

struct  wpa

Functions

static void auth_eapol_rx (void *eloop_data, void *user_ctx)
static const u8auth_get_psk (void *ctx, const u8 *addr, const u8 *prev_psk)
static int auth_init (struct wpa *wpa)
static int auth_init_group (struct wpa *wpa)
static void auth_logger (void *ctx, const u8 *addr, logger_level level, const char *txt)
static int auth_send_eapol (void *ctx, const u8 *addr, const u8 *data, size_t data_len, int encrypt)
static void deinit (struct wpa *wpa)
int main (int argc, char *argv[])
static u8supp_alloc_eapol (void *ctx, u8 type, const void *data, u16 data_len, size_t *msg_len, void **data_pos)
static void supp_cancel_auth_timeout (void *ctx)
static void supp_eapol_rx (void *eloop_data, void *user_ctx)
static int supp_ether_send (void *ctx, const u8 *dest, u16 proto, const u8 *buf, size_t len)
static int supp_get_beacon_ie (void *ctx)
static int supp_get_bssid (void *ctx, u8 *bssid)
static int supp_init (struct wpa *wpa)
static int supp_mlme_setprotection (void *ctx, const u8 *addr, int protection_type, int key_type)
static int supp_set_key (void *ctx, enum wpa_alg alg, const u8 *addr, int key_idx, int set_tx, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len)
static void supp_set_state (void *ctx, enum wpa_states state)

Variables

int wpa_debug_level
int wpa_debug_show_keys

Function Documentation

static void auth_eapol_rx ( void *  eloop_data,
void *  user_ctx 
) [static]

Definition at line 69 of file test_wpa.c.

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

Definition at line 263 of file test_wpa.c.

static int auth_init ( struct wpa wpa  )  [static]

Definition at line 305 of file test_wpa.c.

static int auth_init_group ( struct wpa wpa  )  [static]

Definition at line 274 of file test_wpa.c.

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

Definition at line 220 of file test_wpa.c.

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

Definition at line 241 of file test_wpa.c.

static void deinit ( struct wpa wpa  )  [static]

Definition at line 327 of file test_wpa.c.

int main ( int  argc,
char *  argv[] 
)

Definition at line 339 of file test_wpa.c.

static u8* supp_alloc_eapol ( void *  ctx,
u8  type,
const void *  data,
u16  data_len,
size_t *  msg_len,
void **  data_pos 
) [static]

Definition at line 100 of file test_wpa.c.

static void supp_cancel_auth_timeout ( void *  ctx  )  [static]

Definition at line 170 of file test_wpa.c.

static void supp_eapol_rx ( void *  eloop_data,
void *  user_ctx 
) [static]

Definition at line 231 of file test_wpa.c.

static int supp_ether_send ( void *  ctx,
const u8 dest,
u16  proto,
const u8 buf,
size_t  len 
) [static]

Definition at line 79 of file test_wpa.c.

static int supp_get_beacon_ie ( void *  ctx  )  [static]

Definition at line 129 of file test_wpa.c.

static int supp_get_bssid ( void *  ctx,
u8 bssid 
) [static]

Definition at line 54 of file test_wpa.c.

static int supp_init ( struct wpa wpa  )  [static]

Definition at line 176 of file test_wpa.c.

static int supp_mlme_setprotection ( void *  ctx,
const u8 addr,
int  protection_type,
int  key_type 
) [static]

Definition at line 160 of file test_wpa.c.

static int supp_set_key ( void *  ctx,
enum wpa_alg  alg,
const u8 addr,
int  key_idx,
int  set_tx,
const u8 seq,
size_t  seq_len,
const u8 key,
size_t  key_len 
) [static]

Definition at line 146 of file test_wpa.c.

static void supp_set_state ( void *  ctx,
enum wpa_states  state 
) [static]

Definition at line 63 of file test_wpa.c.


Variable Documentation

Definition at line 29 of file wpa_debug.c.

Definition at line 30 of file wpa_debug.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


wpa_supplicant_node
Author(s): Package maintained by Blaise Gassend
autogenerated on Fri Mar 1 16:00:40 2013