Lines Matching refs:hoff
1742 int hoff, struct virtio_net_hdr *hdr) in vtnet_rxq_csum_needs_csum() argument
1767 error = vtnet_rxq_csum_data_valid(rxq, m, etype, hoff, hdr); in vtnet_rxq_csum_needs_csum()
1815 uint16_t etype, int hoff, struct virtio_net_hdr *hdr __unused) in vtnet_rxq_csum_data_valid() argument
1825 if (__predict_false(m->m_len < hoff + sizeof(struct ip))) in vtnet_rxq_csum_data_valid()
1828 struct ip *ip = (struct ip *)(m->m_data + hoff); in vtnet_rxq_csum_data_valid()
1835 if (__predict_false(m->m_len < hoff + sizeof(struct ip6_hdr)) in vtnet_rxq_csum_data_valid()
1836 || ip6_lasthdr(m, hoff, IPPROTO_IPV6, &protocol) < 0) in vtnet_rxq_csum_data_valid()
1875 int hoff; in vtnet_rxq_csum() local
1885 hoff = sizeof(struct ether_vlan_header); in vtnet_rxq_csum()
1887 hoff = sizeof(struct ether_header); in vtnet_rxq_csum()
1890 return (vtnet_rxq_csum_needs_csum(rxq, m, etype, hoff, hdr)); in vtnet_rxq_csum()
1892 return (vtnet_rxq_csum_data_valid(rxq, m, etype, hoff, hdr)); in vtnet_rxq_csum()