Searched refs:csum_offset (Results 1 – 9 of 9) sorted by relevance
/freebsd/sys/dev/virtio/network/ |
H A D | virtio_net.h | 108 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 D | if_vtnet.c | 1804 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 D | gve_tx.c | 417 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 D | netmap_offloadings.c | 424 if (unlikely(vh->csum_offset + vh->csum_start > src_len)) in bdg_mismatch_datapath() 428 vh->csum_offset); in bdg_mismatch_datapath()
|
H A D | if_ptnet.c | 1491 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 D | netmap_kern.h | 2221 uint16_t csum_offset; member
|
/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_skbuff.c | 295 skb->csum_offset, skb->csum_start, skb->ip_summed, skb->protocol); in DB_SHOW_COMMAND()
|
/freebsd/sys/net/ |
H A D | if_tuntap.c | 1731 vhdr.hdr.csum_offset); in tunread() 1922 vhdr.hdr.csum_offset); in tunwrite()
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | skbuff.h | 170 int csum_offset, csum_start, ip_summed, protocol; member
|