Lines Matching refs:data_len

584 				const u8 *data, size_t data_len,  in hostapd_wpa_auth_send_eapol()  argument
598 size_t hex_len = 2 * data_len + 1; in hostapd_wpa_auth_send_eapol()
603 wpa_snprintf_hex(hex, hex_len, data, data_len); in hostapd_wpa_auth_send_eapol()
621 return hostapd_drv_hapd_send_eapol(hapd, addr, data, data_len, in hostapd_wpa_auth_send_eapol()
688 size_t data_len; member
702 data->data_len); in hostapd_wpa_ft_rrb_rx_later()
714 size_t data_len; member
746 data = os_zalloc(sizeof(*data) + idata->data_len); in hostapd_wpa_auth_ft_iter()
751 os_memcpy(data + 1, idata->data, idata->data_len); in hostapd_wpa_auth_ft_iter()
752 data->data_len = idata->data_len; in hostapd_wpa_auth_ft_iter()
772 const u8 *data, size_t data_len) in hostapd_wpa_auth_send_ether() argument
780 size_t hex_len = 2 * data_len + 1; in hostapd_wpa_auth_send_ether()
785 wpa_snprintf_hex(hex, hex_len, data, data_len); in hostapd_wpa_auth_send_ether()
801 idata.data_len = data_len; in hostapd_wpa_auth_send_ether()
806 return data_len; in hostapd_wpa_auth_send_ether()
813 buf = os_malloc(sizeof(*buf) + data_len); in hostapd_wpa_auth_send_ether()
819 os_memcpy(buf + 1, data, data_len); in hostapd_wpa_auth_send_ether()
821 sizeof(*buf) + data_len); in hostapd_wpa_auth_send_ether()
857 size_t data_len; member
875 data->oui_suffix, (unsigned int) data->data_len, in hostapd_oui_deliver_later()
881 data->data_len); in hostapd_oui_deliver_later()
893 size_t data_len; member
929 data = os_zalloc(sizeof(*data) + idata->data_len); in hostapd_wpa_auth_oui_iter()
937 (unsigned int) idata->data_len, data); in hostapd_wpa_auth_oui_iter()
941 os_memcpy(data + 1, idata->data, idata->data_len); in hostapd_wpa_auth_oui_iter()
942 data->data_len = idata->data_len; in hostapd_wpa_auth_oui_iter()
967 const u8 *data, size_t data_len) in hostapd_wpa_auth_send_oui() argument
976 (unsigned int) data_len); in hostapd_wpa_auth_send_oui()
986 idata.data_len = data_len; in hostapd_wpa_auth_send_oui()
992 return data_len; in hostapd_wpa_auth_send_oui()
1000 return eth_p_oui_send(oui_ctx, hapd->own_addr, dst, data, data_len); in hostapd_wpa_auth_send_oui()
1106 const u8 *data, size_t data_len) in hostapd_wpa_auth_send_ft_action() argument
1118 m = os_zalloc(sizeof(*m) + data_len); in hostapd_wpa_auth_send_ft_action()
1121 mlen = ((u8 *) &m->u - (u8 *) m) + data_len; in hostapd_wpa_auth_send_ft_action()
1127 os_memcpy(&m->u, data, data_len); in hostapd_wpa_auth_send_ft_action()