/third_party/openssl/ssl/statem/ |
D | statem_dtls.c | 47 size_t frag_len); 53 size_t frag_len); 56 static hm_fragment *dtls1_hm_fragment_new(size_t frag_len, int reassembly) in dtls1_hm_fragment_new() argument 67 if (frag_len) { in dtls1_hm_fragment_new() 68 if ((buf = OPENSSL_malloc(frag_len)) == NULL) { in dtls1_hm_fragment_new() 80 bitmask = OPENSSL_zalloc(RSMBLY_BITMASK_SIZE(frag_len)); in dtls1_hm_fragment_new() 420 size_t frag_off, frag_len, msg_len; in dtls1_preprocess_fragment() local 424 frag_len = msg_hdr->frag_len; in dtls1_preprocess_fragment() 427 if ((frag_off + frag_len) > msg_len in dtls1_preprocess_fragment() 501 size_t frag_len = frag->msg_header.frag_len; in dtls1_retrieve_buffered_fragment() local [all …]
|
/third_party/ffmpeg/libavformat/ |
D | rtpenc_vc2hq.c | 54 uint16_t frag_len; in send_picture() local 78 frag_len = (get_bits_count(&gc) + 7) / 8; /* length of transform parameters */ in send_picture() 83 AV_WB16(&info_hdr[ 8], frag_len); in send_picture() 85 … send_packet(ctx, DIRAC_RTP_PCODE_HQ_PIC_FRAGMENT, 12, buf, frag_len, interlaced, second_field, 0); in send_picture() 86 buf += frag_len; in send_picture() 87 size -= frag_len; in send_picture() 90 frag_len = FFMIN(rtp_ctx->max_payload_size - 20 /* pl header */, size); in send_picture() 91 AV_WB16(&info_hdr[ 8], frag_len); in send_picture() 96 size -= frag_len; in send_picture() 97 …send_packet(ctx, DIRAC_RTP_PCODE_HQ_PIC_FRAGMENT, 16, buf, frag_len, interlaced, second_field, siz… in send_picture() [all …]
|
D | rtpdec_vc2hq.c | 98 uint16_t frag_len; in vc2hq_handle_frame_fragment() local 108 frag_len = AV_RB16(&buf[12]); in vc2hq_handle_frame_fragment() 118 if (len < frag_len + 16) { in vc2hq_handle_frame_fragment() 140 avio_write(pl_ctx->buf, buf + 16 /* skip pl header */, frag_len); in vc2hq_handle_frame_fragment() 141 pl_ctx->frame_size += frag_len; in vc2hq_handle_frame_fragment() 145 if (len < frag_len + 20) { in vc2hq_handle_frame_fragment() 154 avio_write(pl_ctx->buf, buf + 20 /* skip pl header */, frag_len); in vc2hq_handle_frame_fragment() 155 pl_ctx->frame_size += frag_len; in vc2hq_handle_frame_fragment()
|
/third_party/lwip/src/netif/ |
D | lowpan6.c | 346 u16_t frag_len, remaining_len, max_data_len; in lowpan6_frag() local 416 frag_len = data_len + lowpan6_header_len; in lowpan6_frag() 418 …pbuf_copy_partial(p, buffer + ieee_header_len + lowpan6_header_len + 4, frag_len - lowpan6_header_… in lowpan6_frag() 419 remaining_len -= frag_len - lowpan6_header_len; in lowpan6_frag() 421 datagram_offset = frag_len - lowpan6_header_len + hidden_header_len; in lowpan6_frag() 425 p_frag->len = p_frag->tot_len = ieee_header_len + 4 + frag_len + 2; /* add 2 bytes for crc*/ in lowpan6_frag() 446 frag_len = (127 - ieee_header_len - 5 - 2) & 0xf8; in lowpan6_frag() 447 if (frag_len > remaining_len) { in lowpan6_frag() 448 frag_len = remaining_len; in lowpan6_frag() 451 pbuf_copy_partial(p, buffer + ieee_header_len + 5, frag_len, p->tot_len - remaining_len); in lowpan6_frag() [all …]
|
/third_party/boringssl/src/ssl/ |
D | d1_both.cc | 363 const size_t frag_len = msg_hdr.frag_len; in dtls1_open_handshake() local 365 if (frag_off > msg_len || frag_off + frag_len < frag_off || in dtls1_open_handshake() 366 frag_off + frag_len > msg_len || in dtls1_open_handshake() 402 dtls1_hm_fragment_mark(frag, frag_off, frag_off + frag_len); in dtls1_open_handshake() 467 !CBS_get_u24(cbs, &out_hdr->frag_len) || in dtls1_parse_fragment() 468 !CBS_get_bytes(cbs, out_body, out_hdr->frag_len)) { in dtls1_parse_fragment() 676 hdr.frag_len != CBS_len(&body) || in seal_next_message() 696 size_t max_frag = max_out - prefix, frag_len; in seal_next_message() local 704 !CBB_finish(cbb.get(), NULL, &frag_len)) { in seal_next_message() 710 MakeSpan(frag, frag_len)); in seal_next_message() [all …]
|
D | internal.h | 2494 uint32_t frag_len;
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/ |
D | p2p_group.c | 194 size_t frag_len = end - pos; in p2p_group_encaps_probe_resp() local 195 if (frag_len > 251) in p2p_group_encaps_probe_resp() 196 frag_len = 251; in p2p_group_encaps_probe_resp() 198 wpabuf_put_u8(ie, 4 + frag_len); in p2p_group_encaps_probe_resp() 200 wpabuf_put_data(ie, pos, frag_len); in p2p_group_encaps_probe_resp() 201 pos += frag_len; in p2p_group_encaps_probe_resp() 271 size_t frag_len = end - pos; in wifi_display_encaps() local 272 if (frag_len > 251) in wifi_display_encaps() 273 frag_len = 251; in wifi_display_encaps() 275 wpabuf_put_u8(ie, 4 + frag_len); in wifi_display_encaps() [all …]
|
D | p2p_sd.c | 626 size_t frag_len, max_len; in p2p_rx_gas_comeback_req() local 656 frag_len = wpabuf_len(p2p->sd_resp) - p2p->sd_resp_pos; in p2p_rx_gas_comeback_req() 657 if (frag_len > max_len) { in p2p_rx_gas_comeback_req() 658 frag_len = max_len; in p2p_rx_gas_comeback_req() 664 p2p->sd_resp_pos, frag_len, in p2p_rx_gas_comeback_req() 670 p2p->sd_frag_id, more, (int) frag_len); in p2p_rx_gas_comeback_req() 672 p2p->sd_resp_pos += frag_len; in p2p_rx_gas_comeback_req()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/ |
D | p2p_group.c | 194 size_t frag_len = end - pos; in p2p_group_encaps_probe_resp() local 195 if (frag_len > 251) in p2p_group_encaps_probe_resp() 196 frag_len = 251; in p2p_group_encaps_probe_resp() 198 wpabuf_put_u8(ie, 4 + frag_len); in p2p_group_encaps_probe_resp() 200 wpabuf_put_data(ie, pos, frag_len); in p2p_group_encaps_probe_resp() 201 pos += frag_len; in p2p_group_encaps_probe_resp() 271 size_t frag_len = end - pos; in wifi_display_encaps() local 272 if (frag_len > 251) in wifi_display_encaps() 273 frag_len = 251; in wifi_display_encaps() 275 wpabuf_put_u8(ie, 4 + frag_len); in wifi_display_encaps() [all …]
|
D | p2p_sd.c | 626 size_t frag_len, max_len; in p2p_rx_gas_comeback_req() local 656 frag_len = wpabuf_len(p2p->sd_resp) - p2p->sd_resp_pos; in p2p_rx_gas_comeback_req() 657 if (frag_len > max_len) { in p2p_rx_gas_comeback_req() 658 frag_len = max_len; in p2p_rx_gas_comeback_req() 664 p2p->sd_resp_pos, frag_len, in p2p_rx_gas_comeback_req() 670 p2p->sd_frag_id, more, (int) frag_len); in p2p_rx_gas_comeback_req() 672 p2p->sd_resp_pos += frag_len; in p2p_rx_gas_comeback_req()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
D | wps_attr_build.c | 470 size_t frag_len = end - pos; in wps_ie_encapsulate() local 471 if (frag_len > 251) in wps_ie_encapsulate() 472 frag_len = 251; in wps_ie_encapsulate() 474 wpabuf_put_u8(ie, 4 + frag_len); in wps_ie_encapsulate() 476 wpabuf_put_data(ie, pos, frag_len); in wps_ie_encapsulate() 477 pos += frag_len; in wps_ie_encapsulate()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
D | wps_attr_build.c | 470 size_t frag_len = end - pos; in wps_ie_encapsulate() local 471 if (frag_len > 251) in wps_ie_encapsulate() 472 frag_len = 251; in wps_ie_encapsulate() 474 wpabuf_put_u8(ie, 4 + frag_len); in wps_ie_encapsulate() 476 wpabuf_put_data(ie, pos, frag_len); in wps_ie_encapsulate() 477 pos += frag_len; in wps_ie_encapsulate()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
D | gas_serv.c | 1739 size_t frag_len; in gas_serv_rx_gas_comeback_req() local 1765 frag_len = wpabuf_len(dialog->sd_resp) - dialog->sd_resp_pos; in gas_serv_rx_gas_comeback_req() 1766 if (frag_len > hapd->conf->gas_frag_limit) { in gas_serv_rx_gas_comeback_req() 1767 frag_len = hapd->conf->gas_frag_limit; in gas_serv_rx_gas_comeback_req() 1771 (unsigned int) frag_len); in gas_serv_rx_gas_comeback_req() 1773 dialog->sd_resp_pos, frag_len); in gas_serv_rx_gas_comeback_req() 1785 10 + frag_len); in gas_serv_rx_gas_comeback_req() 1803 dialog->sd_frag_id, more, (int) frag_len); in gas_serv_rx_gas_comeback_req() 1805 dialog->sd_resp_pos += frag_len; in gas_serv_rx_gas_comeback_req()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
D | gas_serv.c | 1739 size_t frag_len; in gas_serv_rx_gas_comeback_req() local 1765 frag_len = wpabuf_len(dialog->sd_resp) - dialog->sd_resp_pos; in gas_serv_rx_gas_comeback_req() 1766 if (frag_len > hapd->conf->gas_frag_limit) { in gas_serv_rx_gas_comeback_req() 1767 frag_len = hapd->conf->gas_frag_limit; in gas_serv_rx_gas_comeback_req() 1771 (unsigned int) frag_len); in gas_serv_rx_gas_comeback_req() 1773 dialog->sd_resp_pos, frag_len); in gas_serv_rx_gas_comeback_req() 1785 10 + frag_len); in gas_serv_rx_gas_comeback_req() 1803 dialog->sd_frag_id, more, (int) frag_len); in gas_serv_rx_gas_comeback_req() 1805 dialog->sd_resp_pos += frag_len; in gas_serv_rx_gas_comeback_req()
|
/third_party/libwebsockets/lib/roles/http/ |
D | parsers.c | 722 unsigned short frag_len; in issue_char() local 727 frag_len = wsi->http.ah->frags[wsi->http.ah->nfrag].len; in issue_char() 733 frag_len < wsi->http.ah->current_token_limit) { in issue_char() 741 if (frag_len == wsi->http.ah->current_token_limit) { in issue_char()
|
/third_party/mbedtls/library/ |
D | ssl_tls.c | 3619 uint32_t msg_len, frag_off, frag_len; in ssl_check_hs_header() local 3623 frag_len = ssl_get_hs_frag_len( ssl ); in ssl_check_hs_header() 3628 if( frag_len > msg_len - frag_off ) in ssl_check_hs_header() 3631 if( frag_len + 12 > ssl->in_msglen ) in ssl_check_hs_header() 4799 size_t frag_len, frag_off; in ssl_buffer_message() local 4809 frag_len = ssl_get_hs_frag_len( ssl ); in ssl_buffer_message() 4812 frag_off, frag_len ) ); in ssl_buffer_message() 4813 memcpy( msg + frag_off, ssl->in_msg + 12, frag_len ); in ssl_buffer_message() 4818 ssl_bitmask_set( bitmask, frag_off, frag_len ); in ssl_buffer_message()
|
/third_party/openssl/ssl/ |
D | ssl_local.h | 1730 size_t frag_len; member 2408 size_t frag_off, size_t frag_len);
|
/third_party/openssl/ |
D | CHANGES | 5391 *) Keep a copy of frag->msg_header.frag_len so it can be used after the
|