Home
last modified time | relevance | path

Searched refs:dpos (Results 1 – 8 of 8) sorted by relevance

/hostap-3.7.0/src/eap_server/
Deap_server_ttls.c190 u8 avp_flags, *dpos; in eap_ttls_avp_parse() local
211 dpos = (u8 *) (avp + 1); in eap_ttls_avp_parse()
219 vendor_id = be_to_host32(* (be32 *) dpos); in eap_ttls_avp_parse()
222 dpos += 4; in eap_ttls_avp_parse()
226 wpa_hexdump(MSG_DEBUG, "EAP-TTLS: AVP data", dpos, dlen); in eap_ttls_avp_parse()
231 parse->eap = os_memdup(dpos, dlen); in eap_ttls_avp_parse()
248 os_memcpy(neweap + parse->eap_len, dpos, dlen); in eap_ttls_avp_parse()
255 dpos, dlen); in eap_ttls_avp_parse()
256 parse->user_name = dpos; in eap_ttls_avp_parse()
260 u8 *password = dpos; in eap_ttls_avp_parse()
[all …]
/hostap-3.7.0/src/eap_peer/
Deap_ttls.c915 static int eap_ttls_parse_attr_eap(const u8 *dpos, size_t dlen, in eap_ttls_parse_attr_eap() argument
920 parse->eapdata = os_memdup(dpos, dlen); in eap_ttls_parse_attr_eap()
934 os_memcpy(neweap + parse->eap_len, dpos, dlen); in eap_ttls_parse_attr_eap()
948 u8 avp_flags, *dpos; in eap_ttls_parse_avp() local
973 dpos = (u8 *) (avp + 1); in eap_ttls_parse_avp()
981 vendor_id = WPA_GET_BE32(dpos); in eap_ttls_parse_avp()
984 dpos += 4; in eap_ttls_parse_avp()
988 wpa_hexdump(MSG_DEBUG, "EAP-TTLS: AVP data", dpos, dlen); in eap_ttls_parse_avp()
991 if (eap_ttls_parse_attr_eap(dpos, dlen, parse) < 0) in eap_ttls_parse_avp()
997 dpos, dlen); in eap_ttls_parse_avp()
[all …]
/hostap-3.7.0/src/drivers/
Ddriver_wext.c439 char *dpos = (char *) &iwe_buf.u.data.length; in wpa_driver_wext_event_wireless() local
440 int dlen = dpos - (char *) &iwe_buf; in wpa_driver_wext_event_wireless()
441 os_memcpy(dpos, pos + IW_EV_LCP_LEN, in wpa_driver_wext_event_wireless()
1540 char *dpos = (char *) &iwe_buf.u.data.length; in wpa_driver_wext_get_scan_results() local
1541 int dlen = dpos - (char *) &iwe_buf; in wpa_driver_wext_get_scan_results()
1542 os_memcpy(dpos, pos + IW_EV_LCP_LEN, in wpa_driver_wext_get_scan_results()
Ddriver_hostap.c848 char *dpos = (char *) &iwe_buf.u.data.length; in hostapd_wireless_event_wireless() local
849 int dlen = dpos - (char *) &iwe_buf; in hostapd_wireless_event_wireless()
850 memcpy(dpos, pos + IW_EV_LCP_LEN, in hostapd_wireless_event_wireless()
Ddriver_ndis.c2041 char name[256], desc[256], *dpos; in wpa_driver_ndis_get_names() local
2116 dpos = os_strstr(desc, " - "); in wpa_driver_ndis_get_names()
2117 if (dpos) in wpa_driver_ndis_get_names()
2118 dlen = dpos - desc; in wpa_driver_ndis_get_names()
Ddriver_atheros.c1502 char *dpos = (char *) &iwe_buf.u.data.length; in atheros_wireless_event_wireless() local
1503 int dlen = dpos - (char *) &iwe_buf; in atheros_wireless_event_wireless()
1504 os_memcpy(dpos, pos + IW_EV_LCP_LEN, in atheros_wireless_event_wireless()
/hostap-3.7.0/hostapd/
Dctrl_iface.c2115 u8 *dpos; in hostapd_ctrl_iface_data_test_tx() local
2164 dpos = (u8 *) (ip + 1); in hostapd_ctrl_iface_data_test_tx()
2166 *dpos++ = i; in hostapd_ctrl_iface_data_test_tx()
/hostap-3.7.0/wpa_supplicant/
Dctrl_iface.c9675 u8 *dpos; in wpas_ctrl_iface_data_test_tx() local
9724 dpos = (u8 *) (ip + 1); in wpas_ctrl_iface_data_test_tx()
9726 *dpos++ = i; in wpas_ctrl_iface_data_test_tx()