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.h108 uint16_t csum_offset; /* Offset after that to place checksum */ member
126 uint16_t csum_offset; /* Offset after that to place checksum */ member
264 int offset = hdr->csum_start + hdr->csum_offset; in virtio_net_rx_csum_by_offset()
292 switch (hdr->csum_offset) { in virtio_net_rx_csum_by_offset()
361 hdr->csum_start, hdr->csum_offset); in virtio_net_rx_csum_by_parse()
525 hdr->csum_offset = m->m_pkthdr.csum_data; in virtio_net_tx_offload()
H A Dif_vtnet.c1804 csum_off = hdr->csum_start + hdr->csum_offset; in vtnet_rxq_csum_needs_csum()
1888 hdr->csum_offset); in vtnet_rxq_csum_data_valid()
2156 lhdr.csum_offset = vtnet_htog16(sc, hdr->csum_offset); in vtnet_rxq_eof()
2497 hdr->csum_offset = vtnet_gtoh16(sc, m->m_pkthdr.csum_data); in vtnet_txq_offload()
/freebsd/sys/dev/gve/
H A Dgve_tx.c417 int csum_offset, uint16_t pkt_len) in gve_tx_fill_pkt_desc() argument
421 pkt_desc->l4_csum_offset = csum_offset >> 1; in gve_tx_fill_pkt_desc()
425 pkt_desc->l4_csum_offset = csum_offset >> 1; in gve_tx_fill_pkt_desc()
553 int csum_flags, csum_offset, mtd_desc_nr, offset, copy_offset; in gve_xmit() local
612 csum_offset = offsetof(struct tcphdr, th_sum); in gve_xmit()
614 csum_offset = offsetof(struct udphdr, uh_sum); in gve_xmit()
653 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.c1491 vh->csum_start, vh->csum_offset, vh->hdr_len, in ptnet_drain_transmit_queue()
1758 vh->csum_start, vh->csum_offset, vh->hdr_len, in ptnet_rx_eof()
H A Dnetmap_kern.h2221 uint16_t csum_offset; member
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_skbuff.c295 skb->csum_offset, skb->csum_start, skb->ip_summed, skb->protocol); in DB_SHOW_COMMAND()
/freebsd/sys/net/
H A Dif_tuntap.c1731 vhdr.hdr.csum_offset); in tunread()
1922 vhdr.hdr.csum_offset); in tunwrite()
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dskbuff.h170 int csum_offset, csum_start, ip_summed, protocol; member