Home
last modified time | relevance | path

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

/external/chromium_org/third_party/openssl/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()
481 size_t frag_off,frag_len,msg_len; in dtls1_preprocess_fragment() local
485 frag_len = msg_hdr->frag_len; in dtls1_preprocess_fragment()
488 if ( (frag_off+frag_len) > msg_len) in dtls1_preprocess_fragment()
[all …]
Ddtls1.h148 unsigned long frag_len; member
Dssl_locl.h991 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.h961 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.c609 size_t frag_len; in p2p_rx_gas_comeback_req() local
633 frag_len = wpabuf_len(p2p->sd_resp) - p2p->sd_resp_pos; in p2p_rx_gas_comeback_req()
634 if (frag_len > 1400) { in p2p_rx_gas_comeback_req()
635 frag_len = 1400; in p2p_rx_gas_comeback_req()
641 p2p->sd_resp_pos, frag_len, in p2p_rx_gas_comeback_req()
647 p2p->sd_frag_id, more, (int) frag_len); in p2p_rx_gas_comeback_req()
649 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/openssl/include/openssl/
Ddtls1.h148 unsigned long frag_len; member
/external/chromium_org/third_party/openssl/openssl/include/openssl/
Ddtls1.h148 unsigned long frag_len; member