Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/ssl/statem/
H A Dstatem_dtls.c47 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()
437 size_t frag_off, frag_len, msg_len; in dtls1_preprocess_fragment() local
441 frag_len = msg_hdr->frag_len; in dtls1_preprocess_fragment()
444 if ((frag_off + frag_len) > msg_len in dtls1_preprocess_fragment()
556 size_t frag_len = frag->msg_header.frag_len; in dtls1_retrieve_buffered_fragment() local
[all …]
/freebsd/sys/dev/gve/
H A Dgve_rx_dqo.c577 struct gve_rx_compl_desc_dqo *compl_desc, uint16_t frag_len) in gve_rx_copybreak_dqo() argument
581 mbuf = m_get2(frag_len, M_NOWAIT, MT_DATA, M_PKTHDR); in gve_rx_copybreak_dqo()
589 m_copyback(mbuf, 0, frag_len, va); in gve_rx_copybreak_dqo()
590 mbuf->m_len = frag_len; in gve_rx_copybreak_dqo()
594 rx->ctx.total_size += frag_len; in gve_rx_copybreak_dqo()
609 uint16_t frag_len; in gve_rx_dqo() local
641 frag_len = compl_desc->packet_len; in gve_rx_dqo()
642 if (frag_len <= priv->rx_copybreak && !ctx->mbuf_head && is_last_frag) { in gve_rx_dqo()
644 compl_desc, frag_len); in gve_rx_dqo()
682 buf->mbuf->m_len = frag_len; in gve_rx_dqo()
[all …]
/freebsd/usr.sbin/bluetooth/rtlbtfw/
H A Drtlbt_hw.c191 int frag_len = RTLBT_MAX_CMD_DATA_LEN; in rtlbt_load_fwfile() local
208 frag_len = fw->len % RTLBT_MAX_CMD_DATA_LEN; in rtlbt_load_fwfile()
210 cmd->length = frag_len + 1; in rtlbt_load_fwfile()
211 memcpy(dl_cmd->data, data, frag_len); in rtlbt_load_fwfile()
/freebsd/contrib/wpa/src/p2p/
H A Dp2p_group.c194 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 …]
H A Dp2p_sd.c633 size_t frag_len, max_len; in p2p_rx_gas_comeback_req() local
663 frag_len = wpabuf_len(p2p->sd_resp) - p2p->sd_resp_pos; in p2p_rx_gas_comeback_req()
664 if (frag_len > max_len) { in p2p_rx_gas_comeback_req()
665 frag_len = max_len; in p2p_rx_gas_comeback_req()
671 p2p->sd_resp_pos, frag_len, in p2p_rx_gas_comeback_req()
677 p2p->sd_frag_id, more, (int) frag_len); in p2p_rx_gas_comeback_req()
679 p2p->sd_resp_pos += frag_len; in p2p_rx_gas_comeback_req()
/freebsd/contrib/wpa/src/wps/
H A Dwps_attr_build.c479 size_t frag_len = end - pos; in wps_ie_encapsulate() local
480 if (frag_len > 251) in wps_ie_encapsulate()
481 frag_len = 251; in wps_ie_encapsulate()
483 wpabuf_put_u8(ie, 4 + frag_len); in wps_ie_encapsulate()
485 wpabuf_put_data(ie, pos, frag_len); in wps_ie_encapsulate()
486 pos += frag_len; in wps_ie_encapsulate()
/freebsd/sys/contrib/dev/mediatek/mt76/
H A Dtestmode.c148 u16 frag_len; in mt76_testmode_alloc_skb() local
151 frag_len = len % MT_TXP_MAX_LEN; in mt76_testmode_alloc_skb()
153 frag_len = MT_TXP_MAX_LEN; in mt76_testmode_alloc_skb()
155 frag = alloc_skb(frag_len, GFP_KERNEL); in mt76_testmode_alloc_skb()
162 get_random_bytes(__skb_put(frag, frag_len), frag_len); in mt76_testmode_alloc_skb()
/freebsd/contrib/wpa/src/ap/
H A Dgas_serv.c1743 size_t frag_len; in gas_serv_rx_gas_comeback_req() local
1769 frag_len = wpabuf_len(dialog->sd_resp) - dialog->sd_resp_pos; in gas_serv_rx_gas_comeback_req()
1770 if (frag_len > hapd->conf->gas_frag_limit) { in gas_serv_rx_gas_comeback_req()
1771 frag_len = hapd->conf->gas_frag_limit; in gas_serv_rx_gas_comeback_req()
1775 (unsigned int) frag_len); in gas_serv_rx_gas_comeback_req()
1777 dialog->sd_resp_pos, frag_len); in gas_serv_rx_gas_comeback_req()
1789 10 + 2 + frag_len); in gas_serv_rx_gas_comeback_req()
1792 wpabuf_put_le16(tx_buf, frag_len); in gas_serv_rx_gas_comeback_req()
1808 dialog->sd_frag_id, more, (int) frag_len); in gas_serv_rx_gas_comeback_req()
1810 dialog->sd_resp_pos += frag_len; in gas_serv_rx_gas_comeback_req()
/freebsd/sys/dev/liquidio/base/
H A Dlio_droq.c650 int frag_len, idx = droq->read_idx; in lio_droq_fast_process_packets() local
653 frag_len = in lio_droq_fast_process_packets()
662 buffer->m_len = frag_len; in lio_droq_fast_process_packets()
673 pkt_len += frag_len; in lio_droq_fast_process_packets()
/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_ll2.h71 u16 frag_len; member
H A Decore_ll2.c1651 p_curp->bds_set[p_tx->cur_send_frag_num].frag_len = pkt->first_frag_len; in ecore_ll2_prepare_tx_packet_set()
1735 p_curp->bds_set[frag_idx].frag_len = 0; in ecore_ll2_prepare_tx_packet_set_bd()
1879 p_cur_send_packet->bds_set[cur_send_frag_num].frag_len = nbytes; in ecore_ll2_set_fragment_of_tx_packet()
/freebsd/sys/dev/ena/
H A Dena_netmap.c561 uint32_t frag_len; in ena_netmap_tx_map_slots() local
668 frag_len = slot->len; in ena_netmap_tx_map_slots()
674 if (unlikely(delta >= frag_len)) { in ena_netmap_tx_map_slots()
675 delta -= frag_len; in ena_netmap_tx_map_slots()
/freebsd/sys/dev/hyperv/netvsc/
H A Dif_hnvar.h68 uint32_t frag_len[HN_NVS_RSC_MAX]; member
H A Dif_hn.c3462 rxr->rsc.frag_len[0]); in hn_rxpkt()
3463 m_new->m_pkthdr.len = m_new->m_len = rxr->rsc.frag_len[0]; in hn_rxpkt()
3485 n = hv_m_append(n, rxr->rsc.frag_len[i], in hn_rxpkt()
3491 m_new->m_pkthdr.len += rxr->rsc.frag_len[i]; in hn_rxpkt()
7163 rxr->rsc.frag_len[cnt] = len; in hn_rsc_add_data()
/freebsd/sys/contrib/dev/athk/ath11k/
H A Ddp_rx.c4519 static void ath11k_dp_mon_set_frag_len(u32 *total_len, u32 *frag_len) in ath11k_dp_mon_set_frag_len() argument
4522 *frag_len = DP_RX_BUFFER_SIZE - sizeof(struct hal_rx_desc); in ath11k_dp_mon_set_frag_len()
4523 *total_len -= *frag_len; in ath11k_dp_mon_set_frag_len()
4525 *frag_len = *total_len; in ath11k_dp_mon_set_frag_len()
4669 u32 *frag_len, u32 *msdu_cnt) in ath11k_dp_mon_get_buf_len() argument
4677 frag_len); in ath11k_dp_mon_get_buf_len()
4681 frag_len); in ath11k_dp_mon_get_buf_len()
4683 *frag_len = info->msdu_len; in ath11k_dp_mon_get_buf_len()
4709 u32 total_len = 0, frag_len = 0; in ath11k_dp_rx_mon_mpdu_pop() local
4842 &frag_len, &msdu_cnt); in ath11k_dp_rx_mon_mpdu_pop()
[all …]
/freebsd/sys/dev/vnic/
H A Dnicvf_queues.h248 uint32_t frag_len; member
/freebsd/sys/dev/oce/
H A Doce_if.c1158 nicfrag->u0.s.frag_len = segs[i].ds_len; in oce_tx()
1512 uint32_t i = 0, frag_len = 0; in oce_rx_mbuf_chain()
1530 frag_len = (len > rq->cfg.frag_size) ? rq->cfg.frag_size : len; in oce_rx_mbuf_chain()
1531 pd->mbuf->m_len = frag_len; in oce_rx_mbuf_chain()
1567 len -= frag_len; in oce_rx_mbuf_chain()
1514 uint32_t i = 0, frag_len = 0; oce_rx_mbuf_chain() local
H A Doce_hw.h2460 uint32_t frag_len; member
/freebsd/crypto/openssl/ssl/
H A Dssl_local.h1866 size_t frag_len; member
2552 size_t frag_off, size_t frag_len);
/freebsd/sys/dev/bxe/
H A Dbxe.c2851 uint32_t frag_len, frag_size, i; in bxe_fill_frag_mbuf() local
2890 frag_len = min(frag_size, (uint32_t)(SGE_PAGES)); in bxe_fill_frag_mbuf()
2894 fp->index, queue, i, j, sge_idx, frag_size, frag_len); in bxe_fill_frag_mbuf()
2906 m_frag->m_len = frag_len; in bxe_fill_frag_mbuf()
2913 m->m_pkthdr.len += frag_len; in bxe_fill_frag_mbuf()
2914 frag_size -= frag_len; in bxe_fill_frag_mbuf()
3113 uint16_t frags, frag_len; in bxe_service_rxsgl() local
3129 frag_len = min(frag_size, (uint32_t)(SGE_PAGE_SIZE)); in bxe_service_rxsgl()
3130 m_frag->m_len = frag_len; in bxe_service_rxsgl()
3143 frag_size -= frag_len; in bxe_service_rxsgl()
/freebsd/sys/contrib/dev/athk/ath10k/
H A Dhtt_rx.c494 unsigned int frag_len) in ath10k_htt_append_frag_list() argument
497 skb_head->data_len = frag_len; in ath10k_htt_append_frag_list()
/freebsd/crypto/openssl/
H A DCHANGES.md10328 * Keep a copy of frag->msg_header.frag_len so it can be used after the