input stringlengths 16 454k | output stringlengths 13 350k | function_name stringlengths 1 100 | repo_name stringlengths 6 43 | category stringclasses 76
values | sample_id stringlengths 22 88 | decompiler stringclasses 1
value | opt_level stringclasses 1
value |
|---|---|---|---|---|---|---|---|
int hostapd_wps_nfc_report_handover(hostapd_data *hapd, const wpabuf *req,
const wpabuf *sel) {
size_t v4;
u16 wsc_len;
u16 dev_pw_id;
int ret;
wpabuf *wps;
const u8 *pos;
const u8 *posa;
wpabuf msg;
wps_parse_attr attr;
unsigned long v13;
v13 = __readfsqword(0... | int hostapd_wps_nfc_report_handover(struct hostapd_data *hapd,
const struct wpabuf *req,
const struct wpabuf *sel) {
struct wpabuf *wps;
int ret = -1;
u16 wsc_len;
const u8 *pos;
struct wpabuf msg;
struct wps_parse_attr attr;
u16 dev_... | hostapd_wps_nfc_report_handover | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int hostapd_wps_nfc_tag_process(hostapd_data *hapd, const wpabuf *wps) {
wps_parse_attr attr;
unsigned long v4;
v4 = __readfsqword(0x28u);
wpa_hexdump_buf_4(2, "WPS: Received NFC tag payload", wps);
if (wps_parse_msg(wps, &attr)) {
wpa_printf(2, "WPS: Ignore invalid data from NFC tag");
return -1;
... | static int hostapd_wps_nfc_tag_process(struct hostapd_data *hapd,
const struct wpabuf *wps) {
struct wps_parse_attr attr;
wpa_hexdump_buf(MSG_DEBUG, "WPS: Received NFC tag payload", wps);
if (wps_parse_msg(wps, &attr)) {
wpa_printf(MSG_DEBUG, "WPS: Ignore invalid data ... | hostapd_wps_nfc_tag_process | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int hostapd_wps_nfc_tag_read(hostapd_data *hapd, const wpabuf *data) {
int ret;
const wpabuf *wps;
wpabuf *tmp;
wps = data;
tmp = 0;
if (wpabuf_len_35(data) <= 3)
return -1;
if (*wpabuf_head_u8_6(data) != 16) {
tmp = ndef_parse_wifi(data);
if (!tmp) {
wpa_printf(2, "WPS: Could not parse... | int hostapd_wps_nfc_tag_read(struct hostapd_data *hapd,
const struct wpabuf *data) {
const struct wpabuf *wps = data;
struct wpabuf *tmp = NULL;
int ret;
if (wpabuf_len(data) < 4)
return -1;
if (*wpabuf_head_u8(data) != 0x10) {
tmp = ndef_parse_wifi(data);
if (tmp =... | hostapd_wps_nfc_tag_read | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
void hostapd_wps_nfc_token_disable(hostapd_data *hapd) {
wpa_printf(2, "WPS: Disable NFC token for AP interface %s",
hapd->conf->iface);
hostapd_wps_nfc_clear(hapd->wps);
} | void hostapd_wps_nfc_token_disable(struct hostapd_data *hapd) {
wpa_printf(MSG_DEBUG, "WPS: Disable NFC token for AP interface %s",
hapd->conf->iface);
hostapd_wps_nfc_clear(hapd->wps);
} | hostapd_wps_nfc_token_disable | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int hostapd_wps_nfc_token_enable(hostapd_data *hapd) {
size_t v2;
size_t v3;
const u8 *v4;
size_t v5;
size_t v6;
char *v7;
wps_context *wps;
const wpabuf *pw;
wps = hapd->wps;
if (!wps)
return -1;
if (!hapd->conf->wps_nfc_dh_pubkey || !hapd->conf->wps_nfc_dh_privkey ||
!hapd->conf->wps_... | int hostapd_wps_nfc_token_enable(struct hostapd_data *hapd) {
struct wps_context *wps = hapd->wps;
struct wpabuf *pw;
if (wps == NULL)
return -1;
if (!hapd->conf->wps_nfc_dh_pubkey || !hapd->conf->wps_nfc_dh_privkey ||
!hapd->conf->wps_nfc_dev_pw || !hapd->conf->wps_nfc_dev_pw_id)
return -1;
... | hostapd_wps_nfc_token_enable | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
wpabuf *hostapd_wps_nfc_token_gen(hostapd_data *hapd, int ndef) {
if (hapd->conf->wps_nfc_pw_from_config)
return wps_nfc_token_build(ndef, hapd->conf->wps_nfc_dev_pw_id,
hapd->conf->wps_nfc_dh_pubkey,
hapd->conf->wps_nfc_dev_pw);
else
return wps_... | struct wpabuf *hostapd_wps_nfc_token_gen(struct hostapd_data *hapd, int ndef) {
if (hapd->conf->wps_nfc_pw_from_config) {
return wps_nfc_token_build(ndef, hapd->conf->wps_nfc_dev_pw_id,
hapd->conf->wps_nfc_dh_pubkey,
hapd->conf->wps_nfc_dev_pw);
}
... | hostapd_wps_nfc_token_gen | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
void hostapd_wps_pin_needed_cb(void *ctx, const u8 *uuid_e,
const wps_device_data *dev) {
char *v3;
char *v4;
int len;
FILE *f;
os_time t;
char devtype[32];
char uuid[48];
char txt[408];
unsigned long v12;
v12 = __readfsqword(0x28u);
if (!uuid_bin2str(uuid_e, uuid, ... | static void hostapd_wps_pin_needed_cb(void *ctx, const u8 *uuid_e,
const struct wps_device_data *dev) {
struct hostapd_data *hapd = ctx;
char uuid[40], txt[400];
int len;
char devtype[WPS_DEV_TYPE_BUFSIZE];
if (uuid_bin2str(uuid_e, uuid, sizeof(uuid)))
return;
wpa_p... | hostapd_wps_pin_needed_cb | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int hostapd_wps_probe_req_rx(void *ctx, const u8 *addr, const u8 *da,
const u8 *bssid, const u8 *ie, size_t ie_len,
int ssi_signal) {
wpabuf *wps_ie;
ieee802_11_elems elems;
unsigned long v12;
v12 = __readfsqword(0x28u);
if (!*((_QWORD *)ctx + 332))
... | static int hostapd_wps_probe_req_rx(void *ctx, const u8 *addr, const u8 *da,
const u8 *bssid, const u8 *ie,
size_t ie_len, int ssi_signal) {
struct hostapd_data *hapd = ctx;
struct wpabuf *wps_ie;
struct ieee802_11_elems elems;
if (hapd->w... | hostapd_wps_probe_req_rx | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
void hostapd_wps_reenable_ap_pin(void *eloop_data, void *user_ctx) {
if (!*(_DWORD *)(*((_QWORD *)eloop_data + 2) + 976LL) &&
*((_DWORD *)eloop_data + 673) <= 9u) {
wpa_printf(2, "WPS: Re-enable AP PIN");
wpa_msg(*((void **)eloop_data + 297), 3, "WPS-AP-SETUP-UNLOCKED ");
*(_DWORD *)(*((_QWORD *)elo... | static void hostapd_wps_reenable_ap_pin(void *eloop_data, void *user_ctx) {
struct hostapd_data *hapd = eloop_data;
if (hapd->conf->ap_setup_locked)
return;
if (hapd->ap_pin_failures_consecutive >= 10)
return;
wpa_printf(MSG_DEBUG, "WPS: Re-enable AP PIN");
wpa_msg(hapd->msg_ctx, MSG_INFO, WPS_EVENT... | hostapd_wps_reenable_ap_pin | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
void hostapd_wps_reg_success_cb(void *ctx, const u8 *mac_addr, const u8 *uuid_e,
const u8 *dev_pw, size_t dev_pw_len) {
wps_stop_reg_data data;
char uuid[40];
unsigned long v10;
v10 = __readfsqword(0x28u);
if (!uuid_bin2str(uuid_e, uuid, 0x28u)) {
wpa_msg(*((void **)ctx + ... | static void hostapd_wps_reg_success_cb(void *ctx, const u8 *mac_addr,
const u8 *uuid_e, const u8 *dev_pw,
size_t dev_pw_len) {
struct hostapd_data *hapd = ctx;
char uuid[40];
struct wps_stop_reg_data data;
if (uuid_bin2str(uuid_e, uui... | hostapd_wps_reg_success_cb | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int hostapd_wps_rf_band_cb(void *ctx) {
if (*(_DWORD *)(*((_QWORD *)ctx + 1) + 92LL) == 2)
return 2;
if (*(_DWORD *)(*((_QWORD *)ctx + 1) + 92LL) == 3)
return 4;
return 1;
} | static int hostapd_wps_rf_band_cb(void *ctx) {
struct hostapd_data *hapd = ctx;
return hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211A ? WPS_RF_50GHZ
: hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211AD ? WPS_RF_60GHZ
: WPS_RF_24GHZ;
} | hostapd_wps_rf_band_cb | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int hostapd_wps_set_application_ext(hostapd_data *hapd, wps_context *wps) {
wpabuf_free(wps->dev.application_ext);
if (hapd->conf->wps_application_ext) {
wps->dev.application_ext = wpabuf_dup(hapd->conf->wps_application_ext);
if (wps->dev.application_ext)
return 0;
else
return -1;
} else {... | static int hostapd_wps_set_application_ext(struct hostapd_data *hapd,
struct wps_context *wps) {
wpabuf_free(wps->dev.application_ext);
if (!hapd->conf->wps_application_ext) {
wps->dev.application_ext = NULL;
return 0;
}
wps->dev.application_ext = wpabuf_dup(... | hostapd_wps_set_application_ext | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int hostapd_wps_set_ie_cb(void *ctx, wpabuf *beacon_ie, wpabuf *probe_resp_ie) {
wpabuf_free(*((wpabuf **)ctx + 334));
*((_QWORD *)ctx + 334) = beacon_ie;
wpabuf_free(*((wpabuf **)ctx + 335));
*((_QWORD *)ctx + 335) = probe_resp_ie;
if (*((_DWORD *)ctx + 666))
ieee802_11_set_beacon((hostapd_data *)ctx);
... | static int hostapd_wps_set_ie_cb(void *ctx, struct wpabuf *beacon_ie,
struct wpabuf *probe_resp_ie) {
struct hostapd_data *hapd = ctx;
wpabuf_free(hapd->wps_beacon_ie);
hapd->wps_beacon_ie = beacon_ie;
wpabuf_free(hapd->wps_probe_resp_ie);
hapd->wps_probe_resp_ie = probe_resp_... | hostapd_wps_set_ie_cb | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int hostapd_wps_set_vendor_ext(hostapd_data *hapd, wps_context *wps) {
int i;
for (i = 0;; ++i) {
if (i > 9)
return 0;
wpabuf_free(wps->dev.vendor_ext[i]);
wps->dev.vendor_ext[i] = 0;
if (hapd->conf->wps_vendor_ext[i]) {
wps->dev.vendor_ext[i] = wpabuf_dup(hapd->conf->wps_vendor_ext[i])... | static int hostapd_wps_set_vendor_ext(struct hostapd_data *hapd,
struct wps_context *wps) {
int i;
for (i = 0; i < MAX_WPS_VENDOR_EXTENSIONS; i++) {
wpabuf_free(wps->dev.vendor_ext[i]);
wps->dev.vendor_ext[i] = NULL;
if (hapd->conf->wps_vendor_ext[i] == NULL)
... | hostapd_wps_set_vendor_ext | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
void hostapd_wps_update_ie(hostapd_data *hapd) {
hostapd_wps_for_each(hapd, (int (*)(hostapd_data *, void *))wps_update_ie, 0);
} | void hostapd_wps_update_ie(struct hostapd_data *hapd) {
hostapd_wps_for_each(hapd, wps_update_ie, NULL);
} | hostapd_wps_update_ie | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int hostapd_wps_update_multi_ap(hostapd_data *hapd, wps_registrar *reg) {
int ret;
char *multi_ap_backhaul_network_key;
size_t multi_ap_backhaul_network_key_len;
hostapd_bss_config *conf;
conf = hapd->conf;
multi_ap_backhaul_network_key = 0;
multi_ap_backhaul_network_key_len = 0;
if ((conf->multi_ap & ... | static int hostapd_wps_update_multi_ap(struct hostapd_data *hapd,
struct wps_registrar *reg) {
struct hostapd_bss_config *conf = hapd->conf;
u8 *multi_ap_backhaul_network_key = NULL;
size_t multi_ap_backhaul_network_key_len = 0;
int ret;
if (!(conf->multi_ap & FRONTHAUL... | hostapd_wps_update_multi_ap | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
void hostapd_wps_upnp_deinit(hostapd_data *hapd) {
upnp_wps_device_deinit(hapd->wps_upnp, hapd);
} | static void hostapd_wps_upnp_deinit(struct hostapd_data *hapd) {
upnp_wps_device_deinit(hapd->wps_upnp, hapd);
} | hostapd_wps_upnp_deinit | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int hostapd_wps_upnp_init(hostapd_data *hapd, wps_context *wps) {
upnp_wps_device_ctx *ctx;
if (!hapd->conf->upnp_iface)
return 0;
ctx = (upnp_wps_device_ctx *)os_zalloc(0x10u);
if (!ctx)
return -1;
ctx->rx_req_put_wlan_response =
(int (*)(void *, upnp_wps_wlanevent_type, const u8 *, const wpab... | static int hostapd_wps_upnp_init(struct hostapd_data *hapd,
struct wps_context *wps) {
struct upnp_wps_device_ctx *ctx;
if (!hapd->conf->upnp_iface)
return 0;
ctx = os_zalloc(sizeof(*ctx));
if (ctx == NULL)
return -1;
ctx->rx_req_put_wlan_response = hostapd_rx_req_pu... | hostapd_wps_upnp_init | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
size_t hostapd_write_ht_mcs_bitmask(char *buf, size_t buflen, size_t curr_len,
const u8 *mcs_set) {
int ret;
int reta;
size_t lena;
ret = snprintf(&buf[curr_len], buflen - curr_len, "ht_mcs_bitmask=");
if (os_snprintf_error_10(buflen - curr_len, ret))
return curr_len;
... | static size_t hostapd_write_ht_mcs_bitmask(char *buf, size_t buflen,
size_t curr_len, const u8 *mcs_set) {
int ret;
size_t len = curr_len;
ret = os_snprintf(buf + len, buflen - len, "ht_mcs_bitmask=");
if (os_snprintf_error(buflen - len, ret))
return len;
len +=... | hostapd_write_ht_mcs_bitmask | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int hs20_add_nai_home_realm_matches(hostapd_data *hapd, wpabuf *buf,
const u8 *home_realm,
size_t home_realm_len) {
u8 *v5;
u8 num_matching;
u8 num_realms;
u8 encoding;
u8 realm_len;
unsigned int i;
unsigned int ia;
unsigned int j;
... | static int hs20_add_nai_home_realm_matches(struct hostapd_data *hapd,
struct wpabuf *buf,
const u8 *home_realm,
size_t home_realm_len) {
unsigned int i, j, k;
u8 num_realms, num_matching ... | hs20_add_nai_home_realm_matches | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int hs20_parse_conn_capab(hostapd_bss_config *bss, char *buf, int line) {
u16 v4;
u8 *conn_cap;
u8 *conn_capa;
char *pos;
char *posb;
char *posa;
if (bss->hs20_connection_capability_len > 0xFFEF)
return -1;
conn_cap = (u8 *)realloc(bss->hs20_connection_capability,
bss->hs... | static int hs20_parse_conn_capab(struct hostapd_bss_config *bss, char *buf,
int line) {
u8 *conn_cap;
char *pos;
if (bss->hs20_connection_capability_len >= 0xfff0)
return -1;
conn_cap = os_realloc(bss->hs20_connection_capability,
bss->hs20_connectio... | hs20_parse_conn_capab | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int hs20_parse_icon(hostapd_bss_config *bss, char *pos) {
size_t v3;
char *posa;
char *posg;
char *posb;
char *posc;
char *posd;
char *pose;
char *posf;
hs20_icon *icon;
hs20_icon *icona;
char *end;
char *enda;
char *endb;
icon = (hs20_icon *)os_realloc_array_0(bss->hs20_icons,
... | static int hs20_parse_icon(struct hostapd_bss_config *bss, char *pos) {
struct hs20_icon *icon;
char *end;
icon = os_realloc_array(bss->hs20_icons, bss->hs20_icons_count + 1,
sizeof(struct hs20_icon));
if (icon == NULL)
return -1;
bss->hs20_icons = icon;
icon = &bss->hs20_icon... | hs20_parse_icon | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int hs20_parse_oper_friendly_name(hostapd_bss_config *bss, char *pos,
int line) {
if (!parse_lang_string(&bss->hs20_oper_friendly_name,
&bss->hs20_oper_friendly_name_count, pos))
return 0;
wpa_printf(5, "Line %d: Invalid hs20_oper_friendly_name '%s'", l... | static int hs20_parse_oper_friendly_name(struct hostapd_bss_config *bss,
char *pos, int line) {
if (parse_lang_string(&bss->hs20_oper_friendly_name,
&bss->hs20_oper_friendly_name_count, pos)) {
wpa_printf(MSG_ERROR,
"Line %d: Invalid ... | hs20_parse_oper_friendly_name | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int hs20_parse_operator_icon(hostapd_bss_config *bss, char *pos, int line) {
char **v4;
char **n;
n = (char **)os_realloc_array_0(bss->hs20_operator_icon,
bss->hs20_operator_icon_count + 1, 8u);
if (!n)
return -1;
bss->hs20_operator_icon = n;
v4 = &bss->hs20_operator_i... | static int hs20_parse_operator_icon(struct hostapd_bss_config *bss, char *pos,
int line) {
char **n;
n = os_realloc_array(bss->hs20_operator_icon,
bss->hs20_operator_icon_count + 1, sizeof(char *));
if (!n)
return -1;
bss->hs20_operator_icon = n;
... | hs20_parse_operator_icon | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int hs20_parse_osu_friendly_name(hostapd_bss_config *bss, char *pos, int line) {
if (bss->last_osu) {
if (parse_lang_string(&bss->last_osu->friendly_name,
&bss->last_osu->friendly_name_count, pos)) {
wpa_printf(5, "Line %d: Invalid osu_friendly_name '%s'", line, pos);
return ... | static int hs20_parse_osu_friendly_name(struct hostapd_bss_config *bss,
char *pos, int line) {
if (bss->last_osu == NULL) {
wpa_printf(MSG_ERROR, "Line %d: Unexpected OSU field", line);
return -1;
}
if (parse_lang_string(&bss->last_osu->friendly_name,
... | hs20_parse_osu_friendly_name | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int hs20_parse_osu_icon(hostapd_bss_config *bss, char *pos, int line) {
char **v4;
hs20_osu_provider *p;
char **n;
p = bss->last_osu;
if (p) {
n = (char **)os_realloc_array_0(p->icons, p->icons_count + 1, 8u);
if (n) {
p->icons = n;
v4 = &p->icons[p->icons_count];
*v4 = strdup(pos);... | static int hs20_parse_osu_icon(struct hostapd_bss_config *bss, char *pos,
int line) {
char **n;
struct hs20_osu_provider *p = bss->last_osu;
if (p == NULL) {
wpa_printf(MSG_ERROR, "Line %d: Unexpected OSU field", line);
return -1;
}
n = os_realloc_array(p->icons, p->ic... | hs20_parse_osu_icon | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int hs20_parse_osu_method_list(hostapd_bss_config *bss, char *pos, int line) {
if (bss->last_osu) {
if (hostapd_parse_intlist(&bss->last_osu->method_list, pos)) {
wpa_printf(5, "Line %d: Invalid osu_method_list", line);
return -1;
} else {
return 0;
}
} else {
wpa_printf(5, "Line %... | static int hs20_parse_osu_method_list(struct hostapd_bss_config *bss, char *pos,
int line) {
if (bss->last_osu == NULL) {
wpa_printf(MSG_ERROR, "Line %d: Unexpected OSU field", line);
return -1;
}
if (hostapd_parse_intlist(&bss->last_osu->method_list, pos)) {
wpa... | hs20_parse_osu_method_list | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int hs20_parse_osu_nai(hostapd_bss_config *bss, char *pos, int line) {
hs20_osu_provider *last_osu;
if (bss->last_osu) {
free(bss->last_osu->osu_nai);
last_osu = bss->last_osu;
last_osu->osu_nai = strdup(pos);
if (bss->last_osu->osu_nai)
return 0;
else
return -1;
} else {
wpa_... | static int hs20_parse_osu_nai(struct hostapd_bss_config *bss, char *pos,
int line) {
if (bss->last_osu == NULL) {
wpa_printf(MSG_ERROR, "Line %d: Unexpected OSU field", line);
return -1;
}
os_free(bss->last_osu->osu_nai);
bss->last_osu->osu_nai = os_strdup(pos);
if (bss-... | hs20_parse_osu_nai | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int hs20_parse_osu_nai2(hostapd_bss_config *bss, char *pos, int line) {
hs20_osu_provider *last_osu;
if (bss->last_osu) {
free(bss->last_osu->osu_nai2);
last_osu = bss->last_osu;
last_osu->osu_nai2 = strdup(pos);
if (bss->last_osu->osu_nai2) {
++bss->hs20_osu_providers_nai_count;
return... | static int hs20_parse_osu_nai2(struct hostapd_bss_config *bss, char *pos,
int line) {
if (bss->last_osu == NULL) {
wpa_printf(MSG_ERROR, "Line %d: Unexpected OSU field", line);
return -1;
}
os_free(bss->last_osu->osu_nai2);
bss->last_osu->osu_nai2 = os_strdup(pos);
if (... | hs20_parse_osu_nai2 | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int hs20_parse_osu_server_uri(hostapd_bss_config *bss, char *pos, int line) {
hs20_osu_provider *last_osu;
hs20_osu_provider *p;
p = (hs20_osu_provider *)os_realloc_array_0(
bss->hs20_osu_providers, bss->hs20_osu_providers_count + 1, 0x50u);
if (!p)
return -1;
bss->hs20_osu_providers = p;
bss->la... | static int hs20_parse_osu_server_uri(struct hostapd_bss_config *bss, char *pos,
int line) {
struct hs20_osu_provider *p;
p = os_realloc_array(bss->hs20_osu_providers,
bss->hs20_osu_providers_count + 1, sizeof(*p));
if (p == NULL)
return -1;
bss->... | hs20_parse_osu_server_uri | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int hs20_parse_osu_service_desc(hostapd_bss_config *bss, char *pos, int line) {
if (bss->last_osu) {
if (parse_lang_string(&bss->last_osu->service_desc,
&bss->last_osu->service_desc_count, pos)) {
wpa_printf(5, "Line %d: Invalid osu_service_desc '%s'", line, pos);
return -1;
... | static int hs20_parse_osu_service_desc(struct hostapd_bss_config *bss,
char *pos, int line) {
if (bss->last_osu == NULL) {
wpa_printf(MSG_ERROR, "Line %d: Unexpected OSU field", line);
return -1;
}
if (parse_lang_string(&bss->last_osu->service_desc,
... | hs20_parse_osu_service_desc | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int hs20_parse_osu_ssid(hostapd_bss_config *bss, char *pos, int line) {
size_t slen;
char *str;
unsigned long v7;
v7 = __readfsqword(0x28u);
str = wpa_config_parse_string(pos, &slen);
if (str && slen && slen <= 0x20) {
memcpy(bss->osu_ssid, str, slen);
bss->osu_ssid_len = slen;
free(str);
r... | static int hs20_parse_osu_ssid(struct hostapd_bss_config *bss, char *pos,
int line) {
size_t slen;
char *str;
str = wpa_config_parse_string(pos, &slen);
if (str == NULL || slen < 1 || slen > SSID_MAX_LEN) {
wpa_printf(MSG_ERROR, "Line %d: Invalid SSID '%s'", line, pos);
o... | hs20_parse_osu_ssid | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int hs20_parse_wan_metrics(hostapd_bss_config *bss, char *buf, int line) {
u32 v4;
u32 v5;
u16 v6;
u8 *wan_metrics;
char *pos;
char *posd;
char *posa;
char *pose;
char *posb;
char *posf;
char *posc;
wan_metrics = (u8 *)os_zalloc(0xDu);
if (!wan_metrics)
return -1;
if (hexstr2bin(buf, wa... | static int hs20_parse_wan_metrics(struct hostapd_bss_config *bss, char *buf,
int line) {
u8 *wan_metrics;
char *pos;
wan_metrics = os_zalloc(13);
if (wan_metrics == NULL)
return -1;
pos = buf;
if (hexstr2bin(pos, wan_metrics, 1) < 0)
goto fail;
pos += 2;
if (... | hs20_parse_wan_metrics | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int hs20_send_wnm_notification(hostapd_data *hapd, const u8 *addr,
u8 osu_method, const char *url) {
size_t v4;
size_t v6;
const u8 *v7;
int ret;
size_t len;
wpabuf *buf;
len = 0;
if (url && (v4 = strlen(url), len = v4 + 1, v4 + 6 > 0xFF)) {
wpa_printf(3, "HS 2.0: Too... | int hs20_send_wnm_notification(struct hostapd_data *hapd, const u8 *addr,
u8 osu_method, const char *url) {
struct wpabuf *buf;
size_t len = 0;
int ret;
if (url) {
len = 1 + os_strlen(url);
if (5 + len > 255) {
wpa_printf(MSG_INFO,
"HS 2.0: Too long... | hs20_send_wnm_notification | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int hs20_send_wnm_notification_deauth_req(hostapd_data *hapd, const u8 *addr,
const wpabuf *payload) {
size_t v3;
u8 v5;
size_t v6;
const u8 *v7;
int ret;
wpabuf *buf;
v3 = wpabuf_len_73(payload);
buf = wpabuf_alloc(v3 + 10);
if (!buf)
return -1;
wpabuf... | int hs20_send_wnm_notification_deauth_req(struct hostapd_data *hapd,
const u8 *addr,
const struct wpabuf *payload) {
struct wpabuf *buf;
int ret;
buf = wpabuf_alloc(4 + 6 + wpabuf_len(payload));
if (buf == NULL)
return -1;
... | hs20_send_wnm_notification_deauth_req | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int hs20_send_wnm_notification_t_c(hostapd_data *hapd, const u8 *addr,
const char *url) {
size_t v4;
const u8 *v5;
int ret;
size_t url_len;
wpabuf *buf;
if (url) {
url_len = strlen(url);
if (url_len + 5 <= 0xFF) {
buf = wpabuf_alloc(url_len + 11);
if (... | int hs20_send_wnm_notification_t_c(struct hostapd_data *hapd, const u8 *addr,
const char *url) {
struct wpabuf *buf;
int ret;
size_t url_len;
if (!url) {
wpa_printf(MSG_INFO, "HS 2.0: No T&C Server URL available");
return -1;
}
url_len = os_strlen(url);
if (5 +... | hs20_send_wnm_notification_t_c | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
void hs20_t_c_filtering(hostapd_data *hapd, sta_info *sta, int enabled) {
if (enabled) {
wpa_printf(2,
"HS 2.0: Terms and Conditions filtering required for "
"%02x:%02x:%02x:%02x:%02x:%02x",
sta->addr[0], sta->addr[1], sta->addr[2], sta->addr[3],
sta->ad... | void hs20_t_c_filtering(struct hostapd_data *hapd, struct sta_info *sta,
int enabled) {
if (enabled) {
wpa_printf(MSG_DEBUG,
"HS 2.0: Terms and Conditions filtering required for " MACSTR,
MAC2STR(sta->addr));
sta->hs20_t_c_filtering = 1;
wpa_msg(hapd-... | hs20_t_c_filtering | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
void ht40_intolerant_add(hostapd_iface *iface, sta_info *sta) {
if (iface->current_mode->mode == hostapd_hw_mode_HOSTAPD_MODE_IEEE80211G) {
wpa_printf(3,
"HT: Forty MHz Intolerant is set by STA "
"%02x:%02x:%02x:%02x:%02x:%02x in Association Request",
sta->addr[0], sta... | void ht40_intolerant_add(struct hostapd_iface *iface, struct sta_info *sta) {
if (iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G)
return;
wpa_printf(MSG_INFO,
"HT: Forty MHz Intolerant is set by STA " MACSTR
" in Association Request",
MAC2STR(sta->addr));
if (sta... | ht40_intolerant_add | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
void ht40_intolerant_remove(hostapd_iface *iface, sta_info *sta) {
int delay_time;
if ((*((_BYTE *)sta + 97) & 0x20) != 0) {
*((_BYTE *)sta + 97) &= ~0x20u;
if (!--iface->num_sta_ht40_intolerant && (iface->conf->ht_capab & 2) != 0 &&
(iface->drv_flags & 0x100) != 0) {
delay_time = 5 * iface->... | void ht40_intolerant_remove(struct hostapd_iface *iface, struct sta_info *sta) {
if (!sta->ht40_intolerant_set)
return;
sta->ht40_intolerant_set = 0;
iface->num_sta_ht40_intolerant--;
if (iface->num_sta_ht40_intolerant == 0 &&
(iface->conf->ht_capab & HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET) &&
(if... | ht40_intolerant_remove | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int ht_supported(const hostapd_hw_modes *mode) {
return (mode->flags & 1) == 0 || mode->mcs_set[0] == 0xFF;
} | int ht_supported(const struct hostapd_hw_modes *mode) {
if (!(mode->flags & HOSTAPD_MODE_FLAG_HT_INFO_KNOWN)) {
return 1;
}
return mode->mcs_set[0] == 0xff;
} | ht_supported | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
http_client *
http_client_addr(sockaddr_in *dst, wpabuf *req, size_t max_response,
void (*cb)(void *, http_client *, http_client_event),
void *cb_ctx) {
long v6;
int *v7;
char *v8;
int *v9;
char *v10;
http_client *c;
c = (http_client *)os_zalloc(0x68u);
if (!c)
ret... | struct http_client *http_client_addr(
struct sockaddr_in *dst, struct wpabuf *req, size_t max_response,
void (*cb)(void *ctx, struct http_client *c, enum http_client_event event),
void *cb_ctx) {
struct http_client *c;
c = os_zalloc(sizeof(*c));
if (c == NULL)
return NULL;
c->sd = -1;
c->dst ... | http_client_addr | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
void http_client_free(http_client *c) {
if (c) {
httpread_destroy(c->hread);
wpabuf_free(c->req);
if (c->sd >= 0) {
eloop_unregister_sock(c->sd, EVENT_TYPE_WRITE);
close(c->sd);
}
eloop_cancel_timeout((eloop_timeout_handler)http_client_timeout, c, 0);
free(c);
}
} | void http_client_free(struct http_client *c) {
if (c == NULL)
return;
httpread_destroy(c->hread);
wpabuf_free(c->req);
if (c->sd >= 0) {
eloop_unregister_sock(c->sd, EVENT_TYPE_WRITE);
close(c->sd);
}
eloop_cancel_timeout(http_client_timeout, c, NULL);
os_free(c);
} | http_client_free | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
wpabuf *http_client_get_body(http_client *c) {
size_t v2;
void *v3;
if (!c->hread)
return 0;
v2 = httpread_length_get(c->hread);
v3 = httpread_data_get(c->hread);
wpabuf_set_6(&c->body, v3, v2);
return &c->body;
} | struct wpabuf *http_client_get_body(struct http_client *c) {
if (c->hread == NULL)
return NULL;
wpabuf_set(&c->body, httpread_data_get(c->hread),
httpread_length_get(c->hread));
return &c->body;
} | http_client_get_body | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
char *http_client_get_hdr_line(http_client *c, const char *tag) {
if (c->hread)
return httpread_hdr_line_get(c->hread, tag);
else
return 0;
} | char *http_client_get_hdr_line(struct http_client *c, const char *tag) {
if (c->hread == NULL)
return NULL;
return httpread_hdr_line_get(c->hread, tag);
} | http_client_get_hdr_line | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
void http_client_got_response(httpread *handle, void *cookie,
httpread_event e) {
int v3;
char *v4;
int reply_code;
wpa_printf(2, "HTTP: httpread callback: handle=%p cookie=%p e=%d", handle,
cookie, e);
eloop_cancel_timeout((eloop_timeout_handler)http_client_timeout... | static void http_client_got_response(struct httpread *handle, void *cookie,
enum httpread_event e) {
struct http_client *c = cookie;
wpa_printf(MSG_DEBUG,
"HTTP: httpread callback: handle=%p cookie=%p "
"e=%d",
handle, cookie, e);
eloop... | http_client_got_response | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
void http_client_timeout(void *eloop_data, void *user_ctx) {
wpa_printf(2, "HTTP: Timeout (c=%p)", eloop_data);
(*((void (**)(_QWORD, void *, long))eloop_data + 6))(
*((_QWORD *)eloop_data + 7), eloop_data, 1);
} | static void http_client_timeout(void *eloop_data, void *user_ctx) {
struct http_client *c = eloop_data;
wpa_printf(MSG_DEBUG, "HTTP: Timeout (c=%p)", c);
c->cb(c->cb_ctx, c, HTTP_CLIENT_TIMEOUT);
} | http_client_timeout | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
void http_client_tx_ready(int sock, void *eloop_ctx, void *sock_ctx) {
size_t v3;
int v4;
char *v5;
const u8 *v6;
int *v7;
char *v8;
size_t v9;
int v10;
char *v11;
int res;
size_t send_len;
send_len = wpabuf_len_51(*((const wpabuf **)eloop_ctx + 3)) -
*((_QWORD *)eloop_ctx + 4);
... | static void http_client_tx_ready(int sock, void *eloop_ctx, void *sock_ctx) {
struct http_client *c = eloop_ctx;
int res;
size_t send_len;
send_len = wpabuf_len(c->req) - c->req_pos;
wpa_printf(MSG_DEBUG,
"HTTP: Send client request to %s:%d (%lu of %lu "
"bytes remaining)",
... | http_client_tx_ready | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
http_client *http_client_url(const char *url, wpabuf *req, size_t max_response,
void (*cb)(void *, http_client *,
http_client_event),
void *cb_ctx) {
size_t v6;
int v7;
char *v8;
wpabuf *reqa;
char *path;
wpabu... | struct http_client *http_client_url(const char *url, struct wpabuf *req,
size_t max_response,
void (*cb)(void *ctx, struct http_client *c,
enum http_client_event event),
... | http_client_url | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
char *http_client_url_parse(const char *url, sockaddr_in *dst,
char **ret_path) {
const char *v4;
uint16_t v5;
uint16_t v6;
const char *port;
char *path;
char *u;
char *addr;
u = strdup(url);
if (!u)
return 0;
memset(dst, 0, sizeof(sockaddr_in));
dst->sin_family = ... | char *http_client_url_parse(const char *url, struct sockaddr_in *dst,
char **ret_path) {
char *u, *addr, *port, *path;
u = os_strdup(url);
if (u == NULL)
return NULL;
os_memset(dst, 0, sizeof(*dst));
dst->sin_family = AF_INET;
addr = u + 7;
path = os_strchr(addr, '/');
... | http_client_url_parse | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
char *http_link_update(char *url, const char *base) {
size_t v3;
size_t v4;
size_t v5;
size_t len;
char *n;
char *pos;
char *posa;
if (!url)
return 0;
if (!strncmp(url, "http://", 7u))
return url;
if (strncmp(base, "http://", 7u))
return url;
v3 = strlen(url);
len = v3 + strlen(base... | char *http_link_update(char *url, const char *base) {
char *n;
size_t len;
const char *pos;
if (url == NULL)
return NULL;
if (os_strncmp(url, "http://", 7) == 0)
return url;
if (os_strncmp(base, "http://", 7) != 0)
return url;
len = os_strlen(url) + 1 + os_strlen(base) + 1;
n = os_malloc... | http_link_update | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
void http_put_date(wpabuf *buf) {
wpabuf_put_str_2(buf, "Date: ");
format_date(buf);
wpabuf_put_str_2(buf, "\r\n");
} | static void http_put_date(struct wpabuf *buf) {
wpabuf_put_str(buf, "Date: ");
format_date(buf);
wpabuf_put_str(buf, "\r\n");
} | http_put_date | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
void http_put_empty(wpabuf *buf, http_reply_code code) {
http_put_reply_code(buf, code);
wpabuf_put_str_2(buf, http_server_hdr);
wpabuf_put_str_2(buf, http_connection_close);
wpabuf_put_str_2(buf, "Content-Length: 0\r\n\r\n");
} | static void http_put_empty(struct wpabuf *buf, enum http_reply_code code) {
http_put_reply_code(buf, code);
wpabuf_put_str(buf, http_server_hdr);
wpabuf_put_str(buf, http_connection_close);
wpabuf_put_str(buf, "Content-Length: 0\r\n"
"\r\n");
} | http_put_empty | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
void http_put_reply_code(wpabuf *buf, http_reply_code code) {
wpabuf_put_str_2(buf, "HTTP/1.1 ");
if (code == http_reply_code_HTTP_UNIMPLEMENTED) {
wpabuf_put_str_2(buf, "501 Unimplemented\r\n");
} else {
if ((unsigned int)code <= http_reply_code_HTTP_UNIMPLEMENTED) {
if (code == http_reply_code_HTT... | static void http_put_reply_code(struct wpabuf *buf, enum http_reply_code code) {
wpabuf_put_str(buf, "HTTP/1.1 ");
switch (code) {
case HTTP_OK:
wpabuf_put_str(buf, "200 OK\r\n");
break;
case HTTP_BAD_REQUEST:
wpabuf_put_str(buf, "400 Bad request\r\n");
break;
case HTTP_PRECONDITION_FAILED:
... | http_put_reply_code | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
void http_request_cb(httpread *handle, void *cookie, httpread_event en) {
int v3;
char *v4;
int v5;
char *v6;
http_server *srv;
srv = (http_server *)*((_QWORD *)cookie + 1);
if (en == httpread_event_HTTPREAD_EVENT_FILE_READY) {
v3 = ntohs(*((_WORD *)cookie + 11));
v4 = inet_ntoa(*(struct in_addr ... | static void http_request_cb(struct httpread *handle, void *cookie,
enum httpread_event en) {
struct http_request *req = cookie;
struct http_server *srv = req->srv;
if (en == HTTPREAD_EVENT_FILE_READY) {
wpa_printf(MSG_DEBUG, "HTTP: Request from %s:%d received",
inet... | http_request_cb | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
void http_request_deinit(http_request *req) {
http_request *r;
http_request *p;
http_server *srv;
if (req) {
srv = req->srv;
p = 0;
for (r = srv->requests; r; r = r->next) {
if (r == req) {
if (p)
p->next = r->next;
else
srv->requests = r->next;
--s... | void http_request_deinit(struct http_request *req) {
struct http_request *r, *p;
struct http_server *srv;
if (req == NULL)
return;
srv = req->srv;
p = NULL;
r = srv->requests;
while (r) {
if (r == req) {
if (p)
p->next = r->next;
else
srv->requests = r->next;
sr... | http_request_deinit | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
void http_request_free_all(http_request *req) {
http_request *prev;
while (req) {
prev = req;
req = req->next;
http_request_deinit(prev);
}
} | static void http_request_free_all(struct http_request *req) {
struct http_request *prev;
while (req) {
prev = req;
req = req->next;
http_request_deinit(prev);
}
} | http_request_free_all | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
sockaddr_in *http_request_get_cli_addr(http_request *req) { return &req->cli; } | struct sockaddr_in *http_request_get_cli_addr(struct http_request *req) {
return &req->cli;
} | http_request_get_cli_addr | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
char *http_request_get_data(http_request *req) {
return (char *)httpread_data_get(req->hread);
} | char *http_request_get_data(struct http_request *req) {
return httpread_data_get(req->hread);
} | http_request_get_data | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
char *http_request_get_hdr(http_request *req) {
return httpread_hdr_get(req->hread);
} | char *http_request_get_hdr(struct http_request *req) {
return httpread_hdr_get(req->hread);
} | http_request_get_hdr | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
char *http_request_get_hdr_line(http_request *req, const char *tag) {
return httpread_hdr_line_get(req->hread, tag);
} | char *http_request_get_hdr_line(struct http_request *req, const char *tag) {
return httpread_hdr_line_get(req->hread, tag);
} | http_request_get_hdr_line | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
httpread_hdr_type http_request_get_type(http_request *req) {
return httpread_hdr_type_get(req->hread);
} | enum httpread_hdr_type http_request_get_type(struct http_request *req) {
return httpread_hdr_type_get(req->hread);
} | http_request_get_type | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
char *http_request_get_uri(http_request *req) {
return httpread_uri_get(req->hread);
} | char *http_request_get_uri(struct http_request *req) {
return httpread_uri_get(req->hread);
} | http_request_get_uri | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
http_request *http_request_init(http_server *srv, int fd, sockaddr_in *cli) {
long v4;
http_request *req;
if (srv->request_count <= 9) {
req = (http_request *)os_zalloc(0x30u);
if (req) {
req->srv = srv;
req->fd = fd;
v4 = *(_QWORD *)cli->sin_zero;
*(_QWORD *)&req->cli.sin_family ... | static struct http_request *http_request_init(struct http_server *srv, int fd,
struct sockaddr_in *cli) {
struct http_request *req;
if (srv->request_count >= HTTP_SERVER_MAX_CONNECTIONS) {
wpa_printf(MSG_DEBUG, "HTTP: Too many concurrent requests");
return NULL... | http_request_init | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
void http_request_send(http_request *req, wpabuf *resp) {
int v2;
char *v3;
size_t v4;
size_t v5;
const void *v6;
int *v7;
char *v8;
size_t v9;
int res;
v2 = ntohs(req->cli.sin_port);
v3 = inet_ntoa(req->cli.sin_addr);
v4 = wpabuf_len_52(resp);
wpa_printf(2, "HTTP: Send %lu byte response to %... | void http_request_send(struct http_request *req, struct wpabuf *resp) {
int res;
wpa_printf(MSG_DEBUG, "HTTP: Send %lu byte response to %s:%d",
(unsigned long)wpabuf_len(resp), inet_ntoa(req->cli.sin_addr),
ntohs(req->cli.sin_port));
res = send(req->fd, wpabuf_head(resp), wpabuf_len(re... | http_request_send | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
void http_request_send_and_deinit(http_request *req, wpabuf *resp) {
http_request_send(req, resp);
http_request_deinit(req);
} | void http_request_send_and_deinit(struct http_request *req,
struct wpabuf *resp) {
http_request_send(req, resp);
http_request_deinit(req);
} | http_request_send_and_deinit | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
void http_server_cb(int sd, void *eloop_ctx, void *sock_ctx) {
int *v3;
char *v4;
int v5;
char *v6;
socklen_t addr_len;
int conn;
http_server *srv;
http_request *req;
sockaddr_in addr;
unsigned long v12;
v12 = __readfsqword(0x28u);
addr_len = 16;
srv = (http_server *)eloop_ctx;
conn =
... | static void http_server_cb(int sd, void *eloop_ctx, void *sock_ctx) {
struct sockaddr_in addr;
socklen_t addr_len = sizeof(addr);
struct http_server *srv = eloop_ctx;
int conn;
struct http_request *req;
conn = accept(srv->fd, (struct sockaddr *)&addr, &addr_len);
if (conn < 0) {
wpa_printf(MSG_DEBUG,... | http_server_cb | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
void http_server_deinit(http_server *srv) {
if (srv) {
if (srv->fd >= 0) {
eloop_unregister_sock(srv->fd, EVENT_TYPE_READ);
close(srv->fd);
}
http_request_free_all(srv->requests);
free(srv);
}
} | void http_server_deinit(struct http_server *srv) {
if (srv == NULL)
return;
if (srv->fd >= 0) {
eloop_unregister_sock(srv->fd, EVENT_TYPE_READ);
close(srv->fd);
}
http_request_free_all(srv->requests);
os_free(srv);
} | http_server_deinit | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int http_server_get_port(http_server *srv) { return srv->port; } | int http_server_get_port(struct http_server *srv) { return srv->port; } | http_server_get_port | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
http_server *http_server_init(in_addr *addr, int port,
void (*cb)(void *, http_request *),
void *cb_ctx) {
int *v5;
char *v6;
int *v7;
char *v8;
int v9;
char *v10;
int on;
http_server *srv;
sockaddr_in sin;
unsigned long v16;
v16 = __rea... | struct http_server *http_server_init(struct in_addr *addr, int port,
void (*cb)(void *ctx,
struct http_request *req),
void *cb_ctx) {
struct sockaddr_in sin;
struct http_server *srv;
int on = ... | http_server_init | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
httpread *httpread_create(int sd,
void (*cb)(httpread *, void *, httpread_event),
void *cookie, int max_bytes, int timeout_seconds) {
httpread *h;
h = (httpread *)os_zalloc(0x1080u);
if (h) {
h->sd = sd;
h->cb = cb;
h->cookie = cookie;
h->max_by... | struct httpread *httpread_create(
int sd,
void (*cb)(struct httpread *handle, void *cookie, enum httpread_event e),
void *cookie, int max_bytes, int timeout_seconds) {
struct httpread *h = NULL;
h = os_zalloc(sizeof(*h));
if (h == NULL)
goto fail;
h->sd = sd;
h->cb = cb;
h->cookie = cookie;... | httpread_create | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
void *httpread_data_get(httpread *h) {
if (h->body)
return h->body;
else
return &unk_1EE50A;
} | void *httpread_data_get(struct httpread *h) { return h->body ? h->body : ""; } | httpread_data_get | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
void httpread_destroy(httpread *h) {
wpa_printf(2, "httpread_destroy(%p)", h);
if (h) {
eloop_cancel_timeout((eloop_timeout_handler)httpread_timeout_handler, 0, h);
eloop_unregister_sock(h->sd, EVENT_TYPE_READ);
free(h->body);
free(h->uri);
memset(h, 0, sizeof(httpread));
h->sd = -1;
fre... | void httpread_destroy(struct httpread *h) {
wpa_printf(MSG_DEBUG, "httpread_destroy(%p)", h);
if (!h)
return;
eloop_cancel_timeout(httpread_timeout_handler, NULL, h);
eloop_unregister_sock(h->sd, EVENT_TYPE_READ);
os_free(h->body);
os_free(h->uri);
os_memset(h, 0, sizeof(*h));
h->sd = -1;
os_free... | httpread_destroy | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int httpread_hdr_analyze(httpread *h) {
char v1;
char *v2;
char *v3;
char *v4;
char *v5;
httpread_hdr_type hdr_type;
int standard_first_line;
int c;
char *hbp;
char *rawuri;
char *uri;
hbp = h->hdr;
standard_first_line = 1;
h->hdr_type = httpread_hdr_type_HTTPREAD_HDR_TYPE_UNKNOWN;
if (((... | static int httpread_hdr_analyze(struct httpread *h) {
char *hbp = h->hdr;
int standard_first_line = 1;
h->hdr_type = HTTPREAD_HDR_TYPE_UNKNOWN;
if (!isgraph(*hbp))
goto bad;
if (os_strncmp(hbp, "HTTP/", 5) == 0) {
h->hdr_type = HTTPREAD_HDR_TYPE_REPLY;
standard_first_line = 0;
hbp += 5;
i... | httpread_hdr_analyze | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
char *httpread_hdr_get(httpread *h) { return h->hdr; } | char *httpread_hdr_get(struct httpread *h) { return h->hdr; } | httpread_hdr_get | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
char *httpread_hdr_line_get(httpread *h, const char *tag) {
int tag_len;
char *hdr;
char *hdra;
char *hdrb;
char *hdrc;
tag_len = strlen(tag);
hdr = strchr(h->hdr, 10);
if (!hdr)
return 0;
for (hdra = hdr + 1; strncasecmp(hdra, tag, tag_len); hdra = hdrc + 1) {
hdrc = strchr(hdra, 10);
if... | char *httpread_hdr_line_get(struct httpread *h, const char *tag) {
int tag_len = os_strlen(tag);
char *hdr = h->hdr;
hdr = os_strchr(hdr, '\n');
if (hdr == NULL)
return NULL;
hdr++;
for (;;) {
if (!os_strncasecmp(hdr, tag, tag_len)) {
hdr += tag_len;
while (*hdr == ' ' || *hdr == '\t')
... | httpread_hdr_line_get | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int httpread_hdr_option_analyze(httpread *h, char *hbp) {
char *hbpa;
hbpa = hbp;
if (word_eq(hbp, "CONTENT-LENGTH:")) {
while (((*__ctype_b_loc())[*hbpa] & 0x8000u) != 0)
++hbpa;
while (*hbpa == 32 || *hbpa == 9)
++hbpa;
if (((*__ctype_b_loc())[*hbpa] & 0x800) != 0) {
h->content_le... | static int httpread_hdr_option_analyze(struct httpread *h, char *hbp) {
if (word_eq(hbp, "CONTENT-LENGTH:")) {
while (isgraph(*hbp))
hbp++;
while (*hbp == ' ' || *hbp == '\t')
hbp++;
if (!isdigit(*hbp))
return -1;
h->content_length = atol(hbp);
if (h->content_length < 0 || h->con... | httpread_hdr_option_analyze | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
httpread_hdr_type httpread_hdr_type_get(httpread *h) { return h->hdr_type; } | enum httpread_hdr_type httpread_hdr_type_get(struct httpread *h) {
return h->hdr_type;
} | httpread_hdr_type_get | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int httpread_length_get(httpread *h) { return h->body_nbytes; } | int httpread_length_get(struct httpread *h) { return h->body_nbytes; } | httpread_length_get | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
void httpread_read_handler(int sd, void *eloop_ctx, void *sock_ctx) {
int *v3;
char *v4;
char *v5;
char *v6;
char *v7;
char *v8;
char *v9;
unsigned int v10;
int nread;
int new_alloc_nbytes;
int ncopy;
int c;
char *rbp_0;
char *hbp;
char *bbp;
char *new_body;
char *cbp;
char readbuf[1... | static void httpread_read_handler(int sd, void *eloop_ctx, void *sock_ctx) {
struct httpread *h = sock_ctx;
int nread;
char *rbp;
char *hbp;
char *bbp;
char readbuf[HTTPREAD_READBUF_SIZE];
wpa_printf(MSG_DEBUG, "httpread: Trying to read more data(%p)", h);
nread = read(h->sd, readbuf, sizeof(readbuf));... | httpread_read_handler | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int httpread_reply_code_get(httpread *h) { return h->reply_code; } | int httpread_reply_code_get(struct httpread *h) { return h->reply_code; } | httpread_reply_code_get | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
void httpread_timeout_handler(void *eloop_data, void *user_ctx) {
wpa_printf(2, "httpread timeout (%p)", user_ctx);
(*((void (**)(void *, _QWORD, long))user_ctx + 1))(
user_ctx, *((_QWORD *)user_ctx + 2), 2);
} | static void httpread_timeout_handler(void *eloop_data, void *user_ctx) {
struct httpread *h = user_ctx;
wpa_printf(MSG_DEBUG, "httpread timeout (%p)", h);
(*h->cb)(h, h->cookie, HTTPREAD_EVENT_TIMEOUT);
} | httpread_timeout_handler | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
char *httpread_uri_get(httpread *h) { return h->uri; } | char *httpread_uri_get(struct httpread *h) { return h->uri; } | httpread_uri_get | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int hw_get_chan(hostapd_hw_mode mode, int freq, hostapd_hw_modes *hw_features,
int num_hw_features) {
int chan;
unsigned long v6;
v6 = __readfsqword(0x28u);
hw_get_channel_freq(mode, freq, &chan, hw_features, num_hw_features);
return chan;
} | int hw_get_chan(enum hostapd_hw_mode mode, int freq,
struct hostapd_hw_modes *hw_features, int num_hw_features) {
int chan;
hw_get_channel_freq(mode, freq, &chan, hw_features, num_hw_features);
return chan;
} | hw_get_chan | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
hostapd_channel_data *hw_get_channel_chan(hostapd_hw_modes *mode, int chan,
int *freq) {
int i;
hostapd_channel_data *ch_0;
if (freq)
*freq = 0;
if (!mode)
return 0;
for (i = 0;; ++i) {
if (i >= mode->num_channels)
return 0;
ch_0 = &mode->channe... | struct hostapd_channel_data *hw_get_channel_chan(struct hostapd_hw_modes *mode,
int chan, int *freq) {
int i;
if (freq)
*freq = 0;
if (!mode)
return NULL;
for (i = 0; i < mode->num_channels; i++) {
struct hostapd_channel_data *ch = &mode->channels[... | hw_get_channel_chan | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
hostapd_channel_data *hw_get_channel_freq(hostapd_hw_mode mode, int freq,
int *chan,
hostapd_hw_modes *hw_features,
int num_hw_features) {
int i;
hostapd_hw_modes *curr_mode;
hostapd_chann... | struct hostapd_channel_data *
hw_get_channel_freq(enum hostapd_hw_mode mode, int freq, int *chan,
struct hostapd_hw_modes *hw_features, int num_hw_features) {
struct hostapd_channel_data *chan_data;
int i;
if (chan)
*chan = 0;
if (!hw_features)
return NULL;
for (i = 0; i < num_h... | hw_get_channel_freq | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int hw_get_freq(hostapd_hw_modes *mode, int chan) {
int freq;
unsigned long v4;
v4 = __readfsqword(0x28u);
hw_get_channel_chan(mode, chan, &freq);
return freq;
} | int hw_get_freq(struct hostapd_hw_modes *mode, int chan) {
int freq;
hw_get_channel_chan(mode, chan, &freq);
return freq;
} | hw_get_freq | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
hostapd_channel_data *hw_mode_get_channel(hostapd_hw_modes *mode, int freq,
int *chan) {
int i;
hostapd_channel_data *ch_0;
for (i = 0;; ++i) {
if (i >= mode->num_channels)
return 0;
ch_0 = &mode->channels[i];
if (freq == ch_0->freq)
break;
}
... | struct hostapd_channel_data *hw_mode_get_channel(struct hostapd_hw_modes *mode,
int freq, int *chan) {
int i;
for (i = 0; i < mode->num_channels; i++) {
struct hostapd_channel_data *ch = &mode->channels[i];
if (ch->freq == freq) {
if (chan)
*c... | hw_mode_get_channel | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int hwaddr_mask_txt(char *buf, size_t len, const u8 *addr, const u8 *mask) {
int print_mask;
int res;
size_t i;
print_mask = 0;
for (i = 0; i <= 5; ++i) {
if (mask[i] != 0xFF) {
print_mask = 1;
break;
}
}
if (print_mask)
res = snprintf(
buf, len, "%02x:%02x:%02x:%02x:%02x:... | int hwaddr_mask_txt(char *buf, size_t len, const u8 *addr, const u8 *mask) {
size_t i;
int print_mask = 0;
int res;
for (i = 0; i < ETH_ALEN; i++) {
if (mask[i] != 0xff) {
print_mask = 1;
break;
}
}
if (print_mask)
res =
os_snprintf(buf, len, MACSTR "/" MACSTR, MAC2STR(addr... | hwaddr_mask_txt | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int i802_check_bridge(wpa_driver_nl80211_data *drv, i802_bss *bss,
const char *brname, const char *ifname) {
int *v4;
char *v5;
int *v7;
char *v8;
int *v9;
char *v10;
unsigned int br_ifindex;
char in_br[24];
unsigned long v15;
v15 = __readfsqword(0x28u);
os_strlcpy(bss->brna... | static int i802_check_bridge(struct wpa_driver_nl80211_data *drv,
struct i802_bss *bss, const char *brname,
const char *ifname) {
int br_ifindex;
char in_br[IFNAMSIZ];
os_strlcpy(bss->brname, brname, IFNAMSIZ);
br_ifindex = if_nametoindex(brname);
if ... | i802_check_bridge | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
void i802_deinit(void *priv) { wpa_driver_nl80211_deinit((i802_bss *)priv); } | static void i802_deinit(void *priv) {
struct i802_bss *bss = priv;
wpa_driver_nl80211_deinit(bss);
} | i802_deinit | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int i802_flush(void *priv) {
char *v1;
int res;
nl_msg *msg;
wpa_printf(2, "nl80211: flush -> DEL_STATION %s (all)",
(const char *)priv + 32);
msg = nl80211_bss_msg((i802_bss *)priv, 0, 0x14u);
res = send_and_recv_msgs(*(wpa_driver_nl80211_data **)priv, msg, 0, 0, 0, 0);
if (res) {
v1 = ... | static int i802_flush(void *priv) {
struct i802_bss *bss = priv;
struct nl_msg *msg;
int res;
wpa_printf(MSG_DEBUG, "nl80211: flush -> DEL_STATION %s (all)", bss->ifname);
msg = nl80211_bss_msg(bss, 0, NL80211_CMD_DEL_STATION);
res = send_and_recv_msgs(bss->drv, msg, NULL, NULL, NULL, NULL);
if (res) {
... | i802_flush | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int i802_get_inact_sec(void *priv, const u8 *addr) {
long v2;
int ret;
hostap_sta_driver_data data;
unsigned long v6;
v6 = __readfsqword(0x28u);
memset(&data, 0, sizeof(data));
data.inactive_msec = -1;
ret = i802_read_sta_data((i802_bss *)priv, &data, addr);
if (ret == -2) {
LODWORD(v2) = -2;
}... | static int i802_get_inact_sec(void *priv, const u8 *addr) {
struct hostap_sta_driver_data data;
int ret;
os_memset(&data, 0, sizeof(data));
data.inactive_msec = (unsigned long)-1;
ret = i802_read_sta_data(priv, &data, addr);
if (ret == -ENOENT)
return -ENOENT;
if (ret || data.inactive_msec == (unsign... | i802_get_inact_sec | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int i802_get_seqnum(const char *iface, void *priv, const u8 *addr, int idx,
u8 *seq) {
unsigned int v5;
unsigned char idxa;
wpa_driver_nl80211_data *drv;
nl_msg *msg;
idxa = idx;
drv = *(wpa_driver_nl80211_data **)priv;
v5 = if_nametoindex(iface);
msg = nl80211_ifindex_msg(drv, v5, ... | static int i802_get_seqnum(const char *iface, void *priv, const u8 *addr,
int idx, u8 *seq) {
struct i802_bss *bss = priv;
struct wpa_driver_nl80211_data *drv = bss->drv;
struct nl_msg *msg;
msg = nl80211_ifindex_msg(drv, if_nametoindex(iface), 0, NL80211_CMD_GET_KEY);
if (!msg || ... | i802_get_seqnum | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
void *i802_init(hostapd_data *hapd, wpa_init_params *params) {
int v3;
unsigned int v4;
uint16_t v5;
int *v6;
char *v7;
unsigned int br_ifindex;
int br_added;
unsigned int ifindex;
size_t i;
i802_bss *bss;
wpa_driver_nl80211_data *drv;
char master_ifname[24];
unsigned long v15;
v15 = __read... | static void *i802_init(struct hostapd_data *hapd,
struct wpa_init_params *params) {
struct wpa_driver_nl80211_data *drv;
struct i802_bss *bss;
size_t i;
char master_ifname[IFNAMSIZ];
int ifindex, br_ifindex = 0;
int br_added = 0;
bss = wpa_driver_nl80211_drv_init(hapd, params->ifna... | i802_init | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int i802_read_sta_data(i802_bss *bss, hostap_sta_driver_data *data,
const u8 *addr) {
nl_msg *msg;
msg = nl80211_bss_msg(bss, 0, 0x11u);
if (msg && !(unsigned int)nla_put(msg, 6, 6, addr))
return send_and_recv_msgs(
bss->drv, msg, (int (*)(nl_msg *, void *))get_sta_handler, dat... | static int i802_read_sta_data(struct i802_bss *bss,
struct hostap_sta_driver_data *data,
const u8 *addr) {
struct nl_msg *msg;
if (!(msg = nl80211_bss_msg(bss, 0, NL80211_CMD_GET_STATION)) ||
nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, addr)) {
nlm... | i802_read_sta_data | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int i802_set_frag(void *priv, int frag) {
char *v3;
u32 val;
int ret;
wpa_driver_nl80211_data *drv;
nl_msg *msg;
drv = *(wpa_driver_nl80211_data **)priv;
if (frag > 2345 || frag == -1)
val = -1;
else
val = frag;
msg = nl80211_drv_msg(drv, 0, 2u);
if (msg && !nla_put_u32(msg, 63, val)) {
... | static int i802_set_frag(void *priv, int frag) {
struct i802_bss *bss = priv;
struct wpa_driver_nl80211_data *drv = bss->drv;
struct nl_msg *msg;
int ret;
u32 val;
if (frag >= 2346 || frag == -1)
val = (u32)-1;
else
val = frag;
if (!(msg = nl80211_drv_msg(drv, 0, NL80211_CMD_SET_WIPHY)) ||
... | i802_set_frag | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int i802_set_freq(void *priv, hostapd_freq_params *freq) {
return nl80211_set_channel((i802_bss *)priv, freq, 0);
} | static int i802_set_freq(void *priv, struct hostapd_freq_params *freq) {
struct i802_bss *bss = priv;
return nl80211_set_channel(bss, freq, 0);
} | i802_set_freq | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int i802_set_iface_flags(i802_bss *bss, int up) {
if (nl80211_get_ifmode(bss) == nl80211_iftype_NL80211_IFTYPE_P2P_DEVICE)
return nl80211_set_p2pdev(bss, up);
else
return linux_set_iface_flags(bss->drv->global->ioctl_sock, bss->ifname, up);
} | static int i802_set_iface_flags(struct i802_bss *bss, int up) {
enum nl80211_iftype nlmode;
nlmode = nl80211_get_ifmode(bss);
if (nlmode != NL80211_IFTYPE_P2P_DEVICE) {
return linux_set_iface_flags(bss->drv->global->ioctl_sock, bss->ifname, up);
}
return nl80211_set_p2pdev(bss, up);
} | i802_set_iface_flags | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int i802_set_rts(void *priv, int rts) {
char *v3;
u32 val;
int ret;
wpa_driver_nl80211_data *drv;
nl_msg *msg;
drv = *(wpa_driver_nl80211_data **)priv;
if (rts > 2346 || rts == -1)
val = -1;
else
val = rts;
msg = nl80211_drv_msg(drv, 0, 2u);
if (msg && !nla_put_u32(msg, 64, val)) {
ret ... | static int i802_set_rts(void *priv, int rts) {
struct i802_bss *bss = priv;
struct wpa_driver_nl80211_data *drv = bss->drv;
struct nl_msg *msg;
int ret;
u32 val;
if (rts >= 2347 || rts == -1)
val = (u32)-1;
else
val = rts;
if (!(msg = nl80211_drv_msg(drv, 0, NL80211_CMD_SET_WIPHY)) ||
nl... | i802_set_rts | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
int i802_set_sta_vlan(i802_bss *bss, const u8 *addr, const char *ifname,
int vlan_id) {
unsigned int v4;
int v5;
int v6;
int v7;
int v8;
unsigned int v9;
unsigned int v10;
char *v12;
int v13;
int v14;
int ret;
wpa_driver_nl80211_data *drv;
nl_msg *msg;
drv = bss->drv;
... | static int i802_set_sta_vlan(struct i802_bss *bss, const u8 *addr,
const char *ifname, int vlan_id) {
struct wpa_driver_nl80211_data *drv = bss->drv;
struct nl_msg *msg;
int ret;
wpa_printf(MSG_DEBUG,
"nl80211: %s[%d]: set_sta_vlan(" MACSTR
", ifname=%s[%d... | i802_set_sta_vlan | hostapd-2.10 | net-wireless | O0/net-wireless/hostapd-2.10/hostapd | ida | O0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.