Lines Matching refs:payload_frags

56     uint32_t payload_frags;  member
135 iov_from_buf(&pkt->vec[NET_TX_PKT_PL_START_FRAG], pkt->payload_frags, in net_tx_pkt_update_ip_checksums()
144 if (iov_size(pl_start_frag, pkt->payload_frags) < 8 + sizeof(csum)) { in net_tx_pkt_update_sctp_checksum()
148 if (iov_from_buf(pl_start_frag, pkt->payload_frags, 8, &csum, sizeof(csum)) < sizeof(csum)) { in net_tx_pkt_update_sctp_checksum()
152 csum = cpu_to_le32(iov_crc32c(0xffffffff, pl_start_frag, pkt->payload_frags)); in net_tx_pkt_update_sctp_checksum()
153 if (iov_from_buf(pl_start_frag, pkt->payload_frags, 8, &csum, sizeof(csum)) < sizeof(csum)) { in net_tx_pkt_update_sctp_checksum()
282 pkt->payload_frags = iov_copy(&pkt->vec[NET_TX_PKT_PL_START_FRAG], in net_tx_pkt_rebuild_payload()
350 pkt->payload_frags, 0, &l4hdr, sizeof(l4hdr)); in net_tx_pkt_build_vheader()
465 pkt->payload_frags = 0; in net_tx_pkt_reset()
556 if (*src_idx == (pkt->payload_frags + NET_TX_PKT_PL_START_FRAG)) { in net_tx_pkt_fetch_fragment()
604 if (!pkt->payload_frags) { in net_tx_pkt_tcp_fragment_init()
619 if (*src_idx >= pkt->payload_frags + NET_TX_PKT_PL_START_FRAG) { in net_tx_pkt_tcp_fragment_init()
758 pkt->payload_frags + NET_TX_PKT_PL_START_FRAG - 1, in net_tx_pkt_do_sw_fragmentation()
842 pkt->payload_frags + NET_TX_PKT_PL_START_FRAG - 1, in net_tx_pkt_send_custom()
848 pkt->payload_frags + NET_TX_PKT_PL_START_FRAG - NET_TX_PKT_L2HDR_FRAG, in net_tx_pkt_send_custom()
850 pkt->payload_frags + NET_TX_PKT_PL_START_FRAG - NET_TX_PKT_VHDR_FRAG); in net_tx_pkt_send_custom()