Lines Matching refs:rbuf
738 u8 *rbuf, *pos; in wpa_tdls_send_teardown() local
778 rbuf = os_zalloc(ielen + 1); in wpa_tdls_send_teardown()
779 if (rbuf == NULL) in wpa_tdls_send_teardown()
781 pos = rbuf; in wpa_tdls_send_teardown()
818 reason_code, 0, peer->initiator, rbuf, pos - rbuf); in wpa_tdls_send_teardown()
819 os_free(rbuf); in wpa_tdls_send_teardown()
1053 u8 *rbuf, *pos, *count_pos; in wpa_tdls_send_tpk_m1() local
1138 rbuf = os_zalloc(buf_len + 1); in wpa_tdls_send_tpk_m1()
1139 if (rbuf == NULL) { in wpa_tdls_send_tpk_m1()
1143 pos = rbuf; in wpa_tdls_send_tpk_m1()
1158 os_free(rbuf); in wpa_tdls_send_tpk_m1()
1218 1, 0, 0, peer->initiator, rbuf, pos - rbuf); in wpa_tdls_send_tpk_m1()
1219 os_free(rbuf); in wpa_tdls_send_tpk_m1()
1230 u8 *rbuf, *pos; in wpa_tdls_send_tpk_m2() local
1249 rbuf = os_zalloc(buf_len + 1); in wpa_tdls_send_tpk_m2()
1250 if (rbuf == NULL) in wpa_tdls_send_tpk_m2()
1252 pos = rbuf; in wpa_tdls_send_tpk_m2()
1308 dtoken, 0, 0, peer->initiator, rbuf, in wpa_tdls_send_tpk_m2()
1309 pos - rbuf); in wpa_tdls_send_tpk_m2()
1310 os_free(rbuf); in wpa_tdls_send_tpk_m2()
1321 u8 *rbuf, *pos; in wpa_tdls_send_tpk_m3() local
1341 rbuf = os_zalloc(buf_len + 1); in wpa_tdls_send_tpk_m3()
1342 if (rbuf == NULL) in wpa_tdls_send_tpk_m3()
1344 pos = rbuf; in wpa_tdls_send_tpk_m3()
1407 rbuf, pos - rbuf); in wpa_tdls_send_tpk_m3()
1408 os_free(rbuf); in wpa_tdls_send_tpk_m3()
1421 u8 *rbuf, *pos, *count_pos; in wpa_tdls_send_discovery_response() local
1475 rbuf = os_zalloc(buf_len + 1); in wpa_tdls_send_discovery_response()
1476 if (rbuf == NULL) { in wpa_tdls_send_discovery_response()
1480 pos = rbuf; in wpa_tdls_send_discovery_response()
1493 dialog_token, 0, 0, 0, rbuf, pos - rbuf); in wpa_tdls_send_discovery_response()
1494 os_free(rbuf); in wpa_tdls_send_discovery_response()