Home
last modified time | relevance | path

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

/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()
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.h142 unsigned long frag_len; member
Dssl_locl.h949 unsigned long frag_off, unsigned long frag_len);
/external/wpa_supplicant_8/src/ap/
Dgas_serv.c939 size_t frag_len; in gas_serv_tx_gas_response() local
952 frag_len = wpabuf_len(dialog->sd_resp) - dialog->sd_resp_pos; in gas_serv_tx_gas_response()
953 if (frag_len > hapd->gas_frag_limit || dialog->comeback_delay || in gas_serv_tx_gas_response()
966 "requesting comebacks", (unsigned int) frag_len, in gas_serv_tx_gas_response()
997 dialog->sd_resp_pos, frag_len); in gas_serv_tx_gas_response()
1010 dialog->sd_frag_id, (int) frag_len); in gas_serv_tx_gas_response()
1028 size_t frag_len; in gas_serv_rx_gas_comeback_req() local
1081 frag_len = wpabuf_len(dialog->sd_resp) - dialog->sd_resp_pos; in gas_serv_rx_gas_comeback_req()
1082 if (frag_len > hapd->gas_frag_limit) { in gas_serv_rx_gas_comeback_req()
1083 frag_len = hapd->gas_frag_limit; in gas_serv_rx_gas_comeback_req()
[all …]
/external/wpa_supplicant_8/src/wps/
Dwps_attr_build.c422 size_t frag_len = end - pos; in wps_ie_encapsulate() local
423 if (frag_len > 251) in wps_ie_encapsulate()
424 frag_len = 251; in wps_ie_encapsulate()
426 wpabuf_put_u8(ie, 4 + frag_len); in wps_ie_encapsulate()
428 wpabuf_put_data(ie, pos, frag_len); in wps_ie_encapsulate()
429 pos += frag_len; in wps_ie_encapsulate()
/external/wpa_supplicant_8/src/p2p/
Dp2p_sd.c620 size_t frag_len; in p2p_rx_gas_comeback_req() local
646 frag_len = wpabuf_len(p2p->sd_resp) - p2p->sd_resp_pos; in p2p_rx_gas_comeback_req()
647 if (frag_len > 1400) { in p2p_rx_gas_comeback_req()
648 frag_len = 1400; in p2p_rx_gas_comeback_req()
654 p2p->sd_resp_pos, frag_len, in p2p_rx_gas_comeback_req()
661 p2p->sd_frag_id, more, (int) frag_len); in p2p_rx_gas_comeback_req()
663 p2p->sd_resp_pos += frag_len; in p2p_rx_gas_comeback_req()
Dp2p_group.c226 size_t frag_len = end - pos; in wifi_display_encaps() local
227 if (frag_len > 251) in wifi_display_encaps()
228 frag_len = 251; in wifi_display_encaps()
230 wpabuf_put_u8(ie, 4 + frag_len); in wifi_display_encaps()
232 wpabuf_put_data(ie, pos, frag_len); in wifi_display_encaps()
233 pos += frag_len; in wifi_display_encaps()
/external/bluetooth/bluedroid/stack/avdt/
Davdt_scb_act.c422 UINT16 frag_len; /* fragment length */ in avdt_scb_hdl_pkt_frag() local
462 frag_len = (UINT16)(p_end - p); in avdt_scb_hdl_pkt_frag()
464 if(frag_len >= al_len) in avdt_scb_hdl_pkt_frag()
465 frag_len = al_len; in avdt_scb_hdl_pkt_frag()
475 p = avdt_scb_hdl_report(p_scb, p, frag_len); in avdt_scb_hdl_pkt_frag()
550 p_scb->frag_org_len, p_scb->frag_off, al_len, frag_len); in avdt_scb_hdl_pkt_frag()
553 memcpy(p_scb->p_media_buf + p_scb->frag_off, p, frag_len); in avdt_scb_hdl_pkt_frag()
554 p_scb->frag_off += frag_len; in avdt_scb_hdl_pkt_frag()
556 p += frag_len; in avdt_scb_hdl_pkt_frag()
/external/openssl/include/openssl/
Ddtls1.h142 unsigned long frag_len; member
/external/wpa_supplicant_6/wpa_supplicant/src/wps/
Dwps_registrar.c787 size_t frag_len = end - pos; in wps_ie_encapsulate() local
788 if (frag_len > 251) in wps_ie_encapsulate()
789 frag_len = 251; in wps_ie_encapsulate()
791 wpabuf_put_u8(ie, 4 + frag_len); in wps_ie_encapsulate()
793 wpabuf_put_data(ie, pos, frag_len); in wps_ie_encapsulate()
794 pos += frag_len; in wps_ie_encapsulate()