Home
last modified time | relevance | path

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

/freebsd/sys/dev/virtio/network/
H A Dvirtio_net.h116 uint16_t csum_offset; /* Offset after that to place checksum */ member
134 uint16_t csum_offset; /* Offset after that to place checksum */ member
272 int offset = hdr->csum_start + hdr->csum_offset; in virtio_net_rx_csum_by_offset()
300 switch (hdr->csum_offset) { in virtio_net_rx_csum_by_offset()
369 hdr->csum_start, hdr->csum_offset); in virtio_net_rx_csum_by_parse()
533 hdr->csum_offset = m->m_pkthdr.csum_data; in virtio_net_tx_offload()
H A Dif_vtnet.c1819 m->m_pkthdr.csum_data = hdr->csum_offset; in vtnet_rxq_csum_needs_csum()
1830 csum_off = hdr->csum_start + hdr->csum_offset; in vtnet_rxq_csum_needs_csum()
2194 lhdr.csum_offset = vtnet_htog16(sc, hdr->csum_offset); in vtnet_rxq_eof()
2535 hdr->csum_offset = vtnet_gtoh16(sc, m->m_pkthdr.csum_data); in vtnet_txq_offload()
/freebsd/sys/dev/gve/
H A Dgve_tx.c497 int csum_offset, uint16_t pkt_len) in gve_tx_fill_pkt_desc() argument
501 pkt_desc->l4_csum_offset = csum_offset >> 1; in gve_tx_fill_pkt_desc()
505 pkt_desc->l4_csum_offset = csum_offset >> 1; in gve_tx_fill_pkt_desc()
633 int csum_flags, csum_offset, mtd_desc_nr, offset, copy_offset; in gve_xmit() local
692 csum_offset = offsetof(struct tcphdr, th_sum); in gve_xmit()
694 csum_offset = offsetof(struct udphdr, uh_sum); in gve_xmit()
734 info->iov[hdr_nfrags - 1].iov_offset, has_csum_flag, csum_offset, in gve_xmit()
/freebsd/sys/dev/netmap/
H A Dnetmap_offloadings.c424 if (unlikely(vh->csum_offset + vh->csum_start > src_len)) in bdg_mismatch_datapath()
428 vh->csum_offset); in bdg_mismatch_datapath()
H A Dif_ptnet.c1483 vh->csum_start, vh->csum_offset, vh->hdr_len, in ptnet_drain_transmit_queue()
1750 vh->csum_start, vh->csum_offset, vh->hdr_len, in ptnet_rx_eof()
H A Dnetmap_kern.h2242 uint16_t csum_offset; member
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_skbuff.c327 skb->csum_offset, skb->csum_start, skb->ip_summed, skb->protocol); in DB_SHOW_COMMAND()
/freebsd/sys/net/
H A Dif_tuntap.c1875 vhdr.hdr.csum_offset); in tunread()
2057 vhdr.hdr.csum_offset); in tunwrite()
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dskbuff.h166 uint16_t csum_offset; member