Home
last modified time | relevance | path

Searched refs:head (Results 1 – 15 of 15) sorted by relevance

/hostap-latest/tests/
Dtest-list.c18 static void dump_list(struct dl_list *head) in dump_list() argument
22 dl_list_for_each(t, head, struct test, list) in dump_list()
24 printf(" (len=%d%s)\n", dl_list_len(head), in dump_list()
25 dl_list_empty(head) ? " empty" : ""); in dump_list()
30 struct dl_list head; in main() local
34 dl_list_init(&head); in main()
35 dump_list(&head); in main()
42 dl_list_add(&head, &t->list); in main()
43 dump_list(&head); in main()
51 dl_list_add_tail(&head, &t->list); in main()
[all …]
/hostap-latest/wpa_supplicant/
Dctrl_iface_zephyr.c12 static int wpa_supplicant_ctrl_mon_iface_attach(struct wpa_ctrl_mon **head, int sock) in wpa_supplicant_ctrl_mon_iface_attach() argument
22 dst->next = *head; in wpa_supplicant_ctrl_mon_iface_attach()
23 *head = dst; in wpa_supplicant_ctrl_mon_iface_attach()
28 static int wpa_supplicant_ctrl_mon_iface_detach(struct wpa_ctrl_mon **head, int sock) in wpa_supplicant_ctrl_mon_iface_detach() argument
32 dst = *head; in wpa_supplicant_ctrl_mon_iface_detach()
36 *head = dst->next; in wpa_supplicant_ctrl_mon_iface_detach()
51 struct wpa_ctrl_mon **head, in wpa_supplicant_ctrl_iface_send() argument
60 dst = *head; in wpa_supplicant_ctrl_iface_send()
Dctrl_iface_udp.c59 struct wpa_ctrl_dst **head,
76 static int wpa_supplicant_ctrl_iface_attach(struct wpa_ctrl_dst **head, in wpa_supplicant_ctrl_iface_attach() argument
95 dst->next = *head; in wpa_supplicant_ctrl_iface_attach()
96 *head = dst; in wpa_supplicant_ctrl_iface_attach()
109 static int wpa_supplicant_ctrl_iface_detach(struct wpa_ctrl_dst **head, argument
122 dst = *head;
140 *head = dst->next;
521 struct wpa_ctrl_dst **head, argument
534 dst = *head;
575 head, &dst->addr,
Dconfig_winreg.c386 struct wpa_ssid *ssid, *tail = NULL, *head = NULL; in wpa_config_read_networks() local
427 if (head == NULL) { in wpa_config_read_networks()
428 head = tail = ssid; in wpa_config_read_networks()
443 config->ssid = head; in wpa_config_read_networks()
Dconfig_file.c305 struct wpa_ssid *ssid, *tail, *head; in wpa_config_read() local
322 tail = head = config->ssid; in wpa_config_read()
349 if (head == NULL) { in wpa_config_read()
350 head = tail = ssid; in wpa_config_read()
396 config->ssid = head; in wpa_config_read()
405 head = NULL; in wpa_config_read()
Devents.c4858 static int any_interfaces(struct wpa_supplicant *head) in any_interfaces() argument
4862 for (wpa_s = head; wpa_s != NULL; wpa_s = wpa_s->next) in any_interfaces()
/hostap-latest/src/ap/
Dbeacon.c2017 struct ieee80211_mgmt *head; in hostapd_gen_fils_discovery() local
2066 head = os_zalloc(total_len); in hostapd_gen_fils_discovery()
2067 if (!head) in hostapd_gen_fils_discovery()
2070 head->frame_control = IEEE80211_FC(WLAN_FC_TYPE_MGMT, in hostapd_gen_fils_discovery()
2072 os_memset(head->da, 0xff, ETH_ALEN); in hostapd_gen_fils_discovery()
2073 os_memcpy(head->sa, hapd->own_addr, ETH_ALEN); in hostapd_gen_fils_discovery()
2074 os_memcpy(head->bssid, hapd->own_addr, ETH_ALEN); in hostapd_gen_fils_discovery()
2076 head->u.action.category = WLAN_ACTION_PUBLIC; in hostapd_gen_fils_discovery()
2077 head->u.action.u.public_action.action = WLAN_PA_FILS_DISCOVERY; in hostapd_gen_fils_discovery()
2079 pos = &head->u.action.u.public_action.variable[0]; in hostapd_gen_fils_discovery()
[all …]
Dhostapd.c4134 os_free(beacon->head); in free_beacon_data()
4135 beacon->head = NULL; in free_beacon_data()
4168 beacon->head = os_memdup(params.head, params.head_len); in hostapd_build_beacon_data()
4169 if (!beacon->head) in hostapd_build_beacon_data()
/hostap-latest/src/wps/
Dwps_attr_process.c58 const u8 *head; in wps_process_key_wrap_auth() local
66 head = wpabuf_head(msg); in wps_process_key_wrap_auth()
68 if (head + len != key_wrap_auth - 4) { in wps_process_key_wrap_auth()
74 if (hmac_sha256(wps->authkey, WPS_AUTHKEY_LEN, head, len, hash) < 0 || in wps_process_key_wrap_auth()
Dwps_upnp.c650 const char *head = in subscription_first_event() local
689 wpabuf_put_str(buf, head); in subscription_first_event()
987 static void upnp_wps_free_msearchreply(struct dl_list *head) in upnp_wps_free_msearchreply() argument
990 dl_list_for_each_safe(a, tmp, head, struct advertisement_state_machine, in upnp_wps_free_msearchreply()
996 static void upnp_wps_free_subscriptions(struct dl_list *head, in upnp_wps_free_subscriptions() argument
1000 dl_list_for_each_safe(s, tmp, head, struct subscription, list) { in upnp_wps_free_subscriptions()
/hostap-latest/
Dbuild_release17 DATEw=`head -n 3 wpa_supplicant/ChangeLog | tail -n 1 | sed "s/ .*//"`
18 DATEh=`head -n 3 hostapd/ChangeLog | tail -n 1 | sed "s/ .*//"`
/hostap-latest/tests/remote/
Dtest_monitor.py40 head, tail = os.path.split(log)
/hostap-latest/src/drivers/
Ddriver.h1422 u8 *head; member
2733 u8 *head, *tail; member
Ddriver_zephyr.c2118 wpa_hexdump(MSG_EXCESSIVE, "Beacon head", params->head, params->head_len); in wpa_drv_zep_set_ap()
Ddriver_nl80211.c5089 params->head, params->head_len); in wpa_driver_nl80211_set_ap()
5101 params->head) || in wpa_driver_nl80211_set_ap()
11239 if ((settings->head && in set_beacon_data()
11241 settings->head_len, settings->head)) || in set_beacon_data()