Home
last modified time | relevance | path

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

/openbmc/qemu/hw/net/
H A Dnet_tx_pkt.c56 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()
[all …]