Home
last modified time | relevance | path

Searched refs:frag_len (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/third_party/boringssl/src/ssl/
Dd1_both.c166 unsigned long frag_len);
171 unsigned long frag_len);
176 dtls1_hm_fragment_new(unsigned long frag_len, int reassembly) in dtls1_hm_fragment_new() argument
186 if (frag_len) in dtls1_hm_fragment_new()
188 buf = (unsigned char *)OPENSSL_malloc(frag_len); in dtls1_hm_fragment_new()
202 bitmask = (unsigned char *)OPENSSL_malloc(RSMBLY_BITMASK_SIZE(frag_len)); in dtls1_hm_fragment_new()
209 memset(bitmask, 0, RSMBLY_BITMASK_SIZE(frag_len)); in dtls1_hm_fragment_new()
500 size_t frag_off,frag_len,msg_len; in dtls1_preprocess_fragment() local
504 frag_len = msg_hdr->frag_len; in dtls1_preprocess_fragment()
507 if ( (frag_off+frag_len) > msg_len) in dtls1_preprocess_fragment()
[all …]
Dssl_locl.h936 unsigned long frag_off, unsigned long frag_len);
/external/openssl/ssl/
Dd1_both.c163 unsigned long frag_len);
168 unsigned long frag_len);
173 dtls1_hm_fragment_new(unsigned long frag_len, int reassembly) in dtls1_hm_fragment_new() argument
183 if (frag_len) in dtls1_hm_fragment_new()
185 buf = (unsigned char *)OPENSSL_malloc(frag_len); in dtls1_hm_fragment_new()
199 bitmask = (unsigned char *)OPENSSL_malloc(RSMBLY_BITMASK_SIZE(frag_len)); in dtls1_hm_fragment_new()
206 memset(bitmask, 0, RSMBLY_BITMASK_SIZE(frag_len)); in dtls1_hm_fragment_new()
488 size_t frag_off,frag_len,msg_len; in dtls1_preprocess_fragment() local
492 frag_len = msg_hdr->frag_len; in dtls1_preprocess_fragment()
495 if ( (frag_off+frag_len) > msg_len) in dtls1_preprocess_fragment()
[all …]
Ddtls1.h148 unsigned long frag_len; member
Dssl_locl.h972 unsigned long frag_off, unsigned long frag_len);
/external/wpa_supplicant_8/src/p2p/
Dp2p_group.c193 size_t frag_len = end - pos; in p2p_group_encaps_probe_resp() local
194 if (frag_len > 251) in p2p_group_encaps_probe_resp()
195 frag_len = 251; in p2p_group_encaps_probe_resp()
197 wpabuf_put_u8(ie, 4 + frag_len); in p2p_group_encaps_probe_resp()
199 wpabuf_put_data(ie, pos, frag_len); in p2p_group_encaps_probe_resp()
200 pos += frag_len; in p2p_group_encaps_probe_resp()
270 size_t frag_len = end - pos; in wifi_display_encaps() local
271 if (frag_len > 251) in wifi_display_encaps()
272 frag_len = 251; in wifi_display_encaps()
274 wpabuf_put_u8(ie, 4 + frag_len); in wifi_display_encaps()
[all …]
Dp2p_sd.c599 size_t frag_len; in p2p_rx_gas_comeback_req() local
623 frag_len = wpabuf_len(p2p->sd_resp) - p2p->sd_resp_pos; in p2p_rx_gas_comeback_req()
624 if (frag_len > 1400) { in p2p_rx_gas_comeback_req()
625 frag_len = 1400; in p2p_rx_gas_comeback_req()
631 p2p->sd_resp_pos, frag_len, in p2p_rx_gas_comeback_req()
637 p2p->sd_frag_id, more, (int) frag_len); in p2p_rx_gas_comeback_req()
639 p2p->sd_resp_pos += frag_len; in p2p_rx_gas_comeback_req()
/external/wpa_supplicant_8/src/wps/
Dwps_attr_build.c441 size_t frag_len = end - pos; in wps_ie_encapsulate() local
442 if (frag_len > 251) in wps_ie_encapsulate()
443 frag_len = 251; in wps_ie_encapsulate()
445 wpabuf_put_u8(ie, 4 + frag_len); in wps_ie_encapsulate()
447 wpabuf_put_data(ie, pos, frag_len); in wps_ie_encapsulate()
448 pos += frag_len; in wps_ie_encapsulate()
/external/wpa_supplicant_8/src/ap/
Dgas_serv.c1134 size_t frag_len; in gas_serv_rx_gas_comeback_req() local
1160 frag_len = wpabuf_len(dialog->sd_resp) - dialog->sd_resp_pos; in gas_serv_rx_gas_comeback_req()
1161 if (frag_len > hapd->gas_frag_limit) { in gas_serv_rx_gas_comeback_req()
1162 frag_len = hapd->gas_frag_limit; in gas_serv_rx_gas_comeback_req()
1166 (unsigned int) frag_len); in gas_serv_rx_gas_comeback_req()
1168 dialog->sd_resp_pos, frag_len); in gas_serv_rx_gas_comeback_req()
1186 dialog->sd_frag_id, more, (int) frag_len); in gas_serv_rx_gas_comeback_req()
1188 dialog->sd_resp_pos += frag_len; in gas_serv_rx_gas_comeback_req()
/external/bluetooth/bluedroid/stack/avdt/
Davdt_scb_act.c429 UINT16 frag_len; /* fragment length */ in avdt_scb_hdl_pkt_frag() local
469 frag_len = (UINT16)(p_end - p); in avdt_scb_hdl_pkt_frag()
471 if(frag_len >= al_len) in avdt_scb_hdl_pkt_frag()
472 frag_len = al_len; in avdt_scb_hdl_pkt_frag()
482 p = avdt_scb_hdl_report(p_scb, p, frag_len); in avdt_scb_hdl_pkt_frag()
557 p_scb->frag_org_len, p_scb->frag_off, al_len, frag_len); in avdt_scb_hdl_pkt_frag()
560 memcpy(p_scb->p_media_buf + p_scb->frag_off, p, frag_len); in avdt_scb_hdl_pkt_frag()
561 p_scb->frag_off += frag_len; in avdt_scb_hdl_pkt_frag()
563 p += frag_len; in avdt_scb_hdl_pkt_frag()
/external/chromium_org/third_party/boringssl/src/include/openssl/
Ddtls1.h136 unsigned long frag_len; member
/external/openssl/include/openssl/
Ddtls1.h148 unsigned long frag_len; member