Functions
ap_config.c File Reference
#include "utils/includes.h"
#include "utils/common.h"
#include "crypto/sha1.h"
#include "radius/radius_client.h"
#include "common/ieee802_11_defs.h"
#include "common/eapol_common.h"
#include "eap_common/eap_wsc_common.h"
#include "eap_server/eap.h"
#include "wpa_auth.h"
#include "sta_info.h"
#include "ap_config.h"
Include dependency graph for ap_config.c:

Go to the source code of this file.

Functions

struct hostapd_confighostapd_config_defaults (void)
void hostapd_config_defaults_bss (struct hostapd_bss_config *bss)
void hostapd_config_free (struct hostapd_config *conf)
static void hostapd_config_free_bss (struct hostapd_bss_config *conf)
static void hostapd_config_free_eap_user (struct hostapd_eap_user *user)
static void hostapd_config_free_radius (struct hostapd_radius_server *servers, int num_servers)
static void hostapd_config_free_vlan (struct hostapd_bss_config *bss)
static void hostapd_config_free_wep (struct hostapd_wep_keys *keys)
static int hostapd_config_read_wpa_psk (const char *fname, struct hostapd_ssid *ssid)
static int hostapd_derive_psk (struct hostapd_ssid *ssid)
struct hostapd_eap_userhostapd_get_eap_user (const struct hostapd_bss_config *conf, const u8 *identity, size_t identity_len, int phase2)
const u8 * hostapd_get_psk (const struct hostapd_bss_config *conf, const u8 *addr, const u8 *prev_psk)
const char * hostapd_get_vlan_id_ifname (struct hostapd_vlan *vlan, int vlan_id)
int hostapd_mac_comp (const void *a, const void *b)
int hostapd_mac_comp_empty (const void *a)
int hostapd_maclist_found (struct mac_acl_entry *list, int num_entries, const u8 *addr, int *vlan_id)
int hostapd_rate_found (int *list, int rate)
int hostapd_setup_wpa_psk (struct hostapd_bss_config *conf)
int hostapd_wep_key_cmp (struct hostapd_wep_keys *a, struct hostapd_wep_keys *b)

Function Documentation

struct hostapd_config* hostapd_config_defaults ( void  ) [read]

Definition at line 90 of file ap_config.c.

Definition at line 45 of file ap_config.c.

void hostapd_config_free ( struct hostapd_config conf)

hostapd_config_free - Free hostapd configuration : Configuration data from hostapd_config_read().

Definition at line 454 of file ap_config.c.

static void hostapd_config_free_bss ( struct hostapd_bss_config conf) [static]

Definition at line 340 of file ap_config.c.

static void hostapd_config_free_eap_user ( struct hostapd_eap_user user) [static]

Definition at line 322 of file ap_config.c.

static void hostapd_config_free_radius ( struct hostapd_radius_server servers,
int  num_servers 
) [static]

Definition at line 310 of file ap_config.c.

static void hostapd_config_free_vlan ( struct hostapd_bss_config bss) [static]

Definition at line 29 of file ap_config.c.

static void hostapd_config_free_wep ( struct hostapd_wep_keys keys) [static]

Definition at line 330 of file ap_config.c.

static int hostapd_config_read_wpa_psk ( const char *  fname,
struct hostapd_ssid ssid 
) [static]

Definition at line 159 of file ap_config.c.

static int hostapd_derive_psk ( struct hostapd_ssid ssid) [static]

Definition at line 248 of file ap_config.c.

struct hostapd_eap_user* hostapd_get_eap_user ( const struct hostapd_bss_config conf,
const u8 *  identity,
size_t  identity_len,
int  phase2 
) [read]

Definition at line 554 of file ap_config.c.

const u8* hostapd_get_psk ( const struct hostapd_bss_config conf,
const u8 *  addr,
const u8 *  prev_psk 
)

Definition at line 534 of file ap_config.c.

const char* hostapd_get_vlan_id_ifname ( struct hostapd_vlan vlan,
int  vlan_id 
)

Definition at line 522 of file ap_config.c.

int hostapd_mac_comp ( const void *  a,
const void *  b 
)

Definition at line 146 of file ap_config.c.

int hostapd_mac_comp_empty ( const void *  a)

Definition at line 152 of file ap_config.c.

int hostapd_maclist_found ( struct mac_acl_entry list,
int  num_entries,
const u8 *  addr,
int *  vlan_id 
)

hostapd_maclist_found - Find a MAC address from a list : MAC address list : Number of addresses in the list : Address to search for : Buffer for returning VLAN ID or NULL if not needed Returns: 1 if address is in the list or 0 if not.

Perform a binary search for given MAC address from a pre-sorted list.

Definition at line 481 of file ap_config.c.

int hostapd_rate_found ( int *  list,
int  rate 
)

Definition at line 507 of file ap_config.c.

int hostapd_setup_wpa_psk ( struct hostapd_bss_config conf)

Definition at line 269 of file ap_config.c.

int hostapd_wep_key_cmp ( struct hostapd_wep_keys a,
struct hostapd_wep_keys b 
)

Definition at line 296 of file ap_config.c.



wpa_supplicant_node
Author(s): Package maintained by Blaise Gassend
autogenerated on Thu Jan 2 2014 11:25:15