|
wpa_supplicant / hostapd
2.5
|
hostapd / Configuration definitions and helpers functions More...
#include "common/defs.h"#include "ip_addr.h"#include "common/wpa_common.h"#include "common/ieee802_11_defs.h"#include "common/ieee802_11_common.h"#include "wps/wps.h"#include "fst/fst.h"Go to the source code of this file.
Data Structures | |
| struct | mesh_conf |
| local MBSS state and settings More... | |
| struct | mac_acl_entry |
| struct | hostapd_wep_keys |
| struct | hostapd_ssid |
| struct | hostapd_vlan |
| struct | hostapd_sta_wpa_psk_short |
| struct | hostapd_wpa_psk |
| struct | hostapd_eap_user |
| struct | hostapd_radius_attr |
| struct | hostapd_tx_queue_params |
| struct | hostapd_roaming_consortium |
| struct | hostapd_lang_string |
| struct | hostapd_nai_realm_data |
| struct | hostapd_nai_realm_data::hostapd_nai_realm_eap |
| struct | hostapd_bss_config |
| Per-BSS configuration. More... | |
| struct | hostapd_config |
| Per-radio interface configuration. More... | |
Typedefs | |
| typedef u8 | macaddr [ETH_ALEN] |
| typedef enum hostap_security_policy | secpolicy |
Enumerations | |
| enum | hostap_security_policy { SECURITY_PLAINTEXT = 0, SECURITY_STATIC_WEP = 1, SECURITY_IEEE_802_1X = 2, SECURITY_WPA_PSK = 3, SECURITY_WPA = 4, SECURITY_OSEN = 5 } |
Functions | |
| int | hostapd_mac_comp (const void *a, const void *b) |
| int | hostapd_mac_comp_empty (const void *a) |
| struct hostapd_config * | hostapd_config_defaults (void) |
| void | hostapd_config_defaults_bss (struct hostapd_bss_config *bss) |
| void | hostapd_config_free_eap_user (struct hostapd_eap_user *user) |
| void | hostapd_config_clear_wpa_psk (struct hostapd_wpa_psk **p) |
| void | hostapd_config_free_bss (struct hostapd_bss_config *conf) |
| void | hostapd_config_free (struct hostapd_config *conf) |
| Free hostapd configuration. More... | |
| int | hostapd_maclist_found (struct mac_acl_entry *list, int num_entries, const u8 *addr, int *vlan_id) |
| Find a MAC address from a list. More... | |
| int | hostapd_rate_found (int *list, int rate) |
| const u8 * | hostapd_get_psk (const struct hostapd_bss_config *conf, const u8 *addr, const u8 *p2p_dev_addr, const u8 *prev_psk) |
| int | hostapd_setup_wpa_psk (struct hostapd_bss_config *conf) |
| int | hostapd_vlan_id_valid (struct hostapd_vlan *vlan, int vlan_id) |
| const char * | hostapd_get_vlan_id_ifname (struct hostapd_vlan *vlan, int vlan_id) |
| struct hostapd_radius_attr * | hostapd_config_get_radius_attr (struct hostapd_radius_attr *attr, u8 type) |
| int | hostapd_config_check (struct hostapd_config *conf, int full_config) |
| void | hostapd_set_security_params (struct hostapd_bss_config *bss, int full_config) |
hostapd / Configuration definitions and helpers functions
| void hostapd_config_free | ( | struct hostapd_config * | conf | ) |
Free hostapd configuration.
| conf | Configuration data from hostapd_config_read(). |
| int hostapd_maclist_found | ( | struct mac_acl_entry * | list, |
| int | num_entries, | ||
| const u8 * | addr, | ||
| int * | vlan_id | ||
| ) |
Find a MAC address from a list.
| list | MAC address list |
| num_entries | Number of addresses in the list |
| addr | Address to search for |
| vlan_id | Buffer for returning VLAN ID or NULL if not needed |
Perform a binary search for given MAC address from a pre-sorted list.
1.8.6