/external/boringssl/src/ssl/ |
d1_both.c | 147 unsigned long frag_len); 150 static hm_fragment *dtls1_hm_fragment_new(unsigned long frag_len, 162 if (frag_len) { 163 buf = (uint8_t *)OPENSSL_malloc(frag_len); 175 if (reassembly && frag_len > 0) { 176 if (frag_len + 7 < frag_len) { 180 size_t bitmask_len = (frag_len + 7) / 8; 399 * |frag_len|. It returns one on success and zero on error. 403 static int dtls1_discard_fragment_body(SSL *s, size_t frag_len) { 498 const size_t frag_len = msg_hdr.frag_len; local [all...] |
internal.h | 718 uint32_t frag_len; member in struct:hm_header_st [all...] |
/external/wpa_supplicant_8/src/p2p/ |
p2p_sd.c | 609 size_t frag_len; local 633 frag_len = wpabuf_len(p2p->sd_resp) - p2p->sd_resp_pos; 634 if (frag_len > 1400) { 635 frag_len = 1400; 641 p2p->sd_resp_pos, frag_len, 646 p2p_dbg(p2p, "Send GAS Comeback Response (frag_id %d more=%d frag_len=%d)", 647 p2p->sd_frag_id, more, (int) frag_len); 649 p2p->sd_resp_pos += frag_len;
|
p2p_group.c | 193 size_t frag_len = end - pos; local 194 if (frag_len > 251) 195 frag_len = 251; 197 wpabuf_put_u8(ie, 4 + frag_len); 199 wpabuf_put_data(ie, pos, frag_len); 200 pos += frag_len; 270 size_t frag_len = end - pos; local 271 if (frag_len > 251) 272 frag_len = 251; 274 wpabuf_put_u8(ie, 4 + frag_len); [all...] |
/external/wpa_supplicant_8/src/wps/ |
wps_attr_build.c | 441 size_t frag_len = end - pos; local 442 if (frag_len > 251) 443 frag_len = 251; 445 wpabuf_put_u8(ie, 4 + frag_len); 447 wpabuf_put_data(ie, pos, frag_len); 448 pos += frag_len;
|
/external/wpa_supplicant_8/src/ap/ |
gas_serv.c | 1158 size_t frag_len; local 1184 frag_len = wpabuf_len(dialog->sd_resp) - dialog->sd_resp_pos; 1185 if (frag_len > hapd->gas_frag_limit) { 1186 frag_len = hapd->gas_frag_limit; 1189 wpa_msg(hapd->msg_ctx, MSG_DEBUG, "GAS: resp frag_len %u", 1190 (unsigned int) frag_len); 1192 dialog->sd_resp_pos, frag_len); [all...] |
/system/bt/stack/avdt/ |
avdt_scb_act.c | 432 UINT16 frag_len; /* fragment length */ local 472 frag_len = (UINT16)(p_end - p); 474 if(frag_len >= al_len) 475 frag_len = al_len; 485 p = avdt_scb_hdl_report(p_scb, p, frag_len); 559 AVDT_TRACE_DEBUG("Received fragment org_len=%d off=%d al_len=%d frag_len=%d", 560 p_scb->frag_org_len, p_scb->frag_off, al_len, frag_len); 563 memcpy(p_scb->p_media_buf + p_scb->frag_off, p, frag_len); 564 p_scb->frag_off += frag_len; 566 p += frag_len; [all...] |