Lines Matching refs:data_len

509 				const u8 *data, size_t data_len,  in hostapd_wpa_auth_send_eapol()  argument
518 size_t hex_len = 2 * data_len + 1; in hostapd_wpa_auth_send_eapol()
523 wpa_snprintf_hex(hex, hex_len, data, data_len); in hostapd_wpa_auth_send_eapol()
535 return hostapd_drv_hapd_send_eapol(hapd, addr, data, data_len, in hostapd_wpa_auth_send_eapol()
594 size_t data_len; member
608 data->data_len); in hostapd_wpa_ft_rrb_rx_later()
620 size_t data_len; member
652 data = os_zalloc(sizeof(*data) + idata->data_len); in hostapd_wpa_auth_ft_iter()
657 os_memcpy(data + 1, idata->data, idata->data_len); in hostapd_wpa_auth_ft_iter()
658 data->data_len = idata->data_len; in hostapd_wpa_auth_ft_iter()
678 const u8 *data, size_t data_len) in hostapd_wpa_auth_send_ether() argument
686 size_t hex_len = 2 * data_len + 1; in hostapd_wpa_auth_send_ether()
691 wpa_snprintf_hex(hex, hex_len, data, data_len); in hostapd_wpa_auth_send_ether()
707 idata.data_len = data_len; in hostapd_wpa_auth_send_ether()
712 return data_len; in hostapd_wpa_auth_send_ether()
719 buf = os_malloc(sizeof(*buf) + data_len); in hostapd_wpa_auth_send_ether()
725 os_memcpy(buf + 1, data, data_len); in hostapd_wpa_auth_send_ether()
727 sizeof(*buf) + data_len); in hostapd_wpa_auth_send_ether()
763 size_t data_len; member
781 data->oui_suffix, (unsigned int) data->data_len, in hostapd_oui_deliver_later()
787 data->data_len); in hostapd_oui_deliver_later()
799 size_t data_len; member
835 data = os_zalloc(sizeof(*data) + idata->data_len); in hostapd_wpa_auth_oui_iter()
843 (unsigned int) idata->data_len, data); in hostapd_wpa_auth_oui_iter()
847 os_memcpy(data + 1, idata->data, idata->data_len); in hostapd_wpa_auth_oui_iter()
848 data->data_len = idata->data_len; in hostapd_wpa_auth_oui_iter()
873 const u8 *data, size_t data_len) in hostapd_wpa_auth_send_oui() argument
882 (unsigned int) data_len); in hostapd_wpa_auth_send_oui()
892 idata.data_len = data_len; in hostapd_wpa_auth_send_oui()
898 return data_len; in hostapd_wpa_auth_send_oui()
906 return eth_p_oui_send(oui_ctx, hapd->own_addr, dst, data, data_len); in hostapd_wpa_auth_send_oui()
1011 const u8 *data, size_t data_len) in hostapd_wpa_auth_send_ft_action() argument
1023 m = os_zalloc(sizeof(*m) + data_len); in hostapd_wpa_auth_send_ft_action()
1026 mlen = ((u8 *) &m->u - (u8 *) m) + data_len; in hostapd_wpa_auth_send_ft_action()
1032 os_memcpy(&m->u, data, data_len); in hostapd_wpa_auth_send_ft_action()