Lines Matching refs:rlen
803 int rlen; in wpa_supplicant_key_request() local
823 rlen = sizeof (*ethhdr) + sizeof (*hdr) + sizeof (*reply); in wpa_supplicant_key_request()
824 rbuf = malloc(rlen); in wpa_supplicant_key_request()
828 (void) memset(rbuf, 0, rlen); in wpa_supplicant_key_request()
859 rlen - sizeof (*ethhdr), reply->key_mic); in wpa_supplicant_key_request()
864 error, pairwise, wpa_s->ptk_set, rlen); in wpa_supplicant_key_request()
865 wpa_hexdump(MSG_MSGDUMP, "WPA: TX EAPOL-Key Request", rbuf, rlen); in wpa_supplicant_key_request()
866 (void) l2_packet_send(wpa_s->l2, rbuf, rlen); in wpa_supplicant_key_request()
874 int rlen; in wpa_supplicant_process_1_of_4() local
934 rlen = sizeof (*ethhdr) + sizeof (*hdr) + sizeof (*reply) + wpa_ie_len; in wpa_supplicant_process_1_of_4()
935 rbuf = malloc(rlen); in wpa_supplicant_process_1_of_4()
939 (void) memset(rbuf, 0, rlen); in wpa_supplicant_process_1_of_4()
988 rlen - sizeof (*ethhdr), reply->key_mic); in wpa_supplicant_process_1_of_4()
992 wpa_hexdump(MSG_MSGDUMP, "WPA: TX EAPOL-Key 2/4", rbuf, rlen); in wpa_supplicant_process_1_of_4()
993 (void) l2_packet_send(wpa_s->l2, rbuf, rlen); in wpa_supplicant_process_1_of_4()
1107 int rlen; in wpa_supplicant_process_3_of_4() local
1204 rlen = sizeof (*ethhdr) + sizeof (*hdr) + sizeof (*reply); in wpa_supplicant_process_3_of_4()
1205 rbuf = malloc(rlen); in wpa_supplicant_process_3_of_4()
1209 (void) memset(rbuf, 0, rlen); in wpa_supplicant_process_3_of_4()
1233 rlen - sizeof (*ethhdr), reply->key_mic); in wpa_supplicant_process_3_of_4()
1236 wpa_hexdump(MSG_MSGDUMP, "WPA: TX EAPOL-Key 4/4", rbuf, rlen); in wpa_supplicant_process_3_of_4()
1237 (void) l2_packet_send(wpa_s->l2, rbuf, rlen); in wpa_supplicant_process_3_of_4()
1300 int rlen; in wpa_supplicant_process_1_of_2() local
1484 rlen = sizeof (*ethhdr) + sizeof (*hdr) + sizeof (*reply); in wpa_supplicant_process_1_of_2()
1485 rbuf = malloc(rlen); in wpa_supplicant_process_1_of_2()
1489 (void) memset(rbuf, 0, rlen); in wpa_supplicant_process_1_of_2()
1513 rlen - sizeof (*ethhdr), reply->key_mic); in wpa_supplicant_process_1_of_2()
1516 wpa_hexdump(MSG_MSGDUMP, "WPA: TX EAPOL-Key 2/2", rbuf, rlen); in wpa_supplicant_process_1_of_2()
1517 (void) l2_packet_send(wpa_s->l2, rbuf, rlen); in wpa_supplicant_process_1_of_2()