Lines Matching refs:hoff
1763 int hoff, struct virtio_net_hdr *hdr) in vtnet_rxq_csum_needs_csum() argument
1788 error = vtnet_rxq_csum_data_valid(rxq, m, etype, hoff, hdr); in vtnet_rxq_csum_needs_csum()
1836 uint16_t etype, int hoff, struct virtio_net_hdr *hdr __unused) in vtnet_rxq_csum_data_valid() argument
1850 if (__predict_false(m->m_len < hoff + sizeof(struct ip))) in vtnet_rxq_csum_data_valid()
1853 struct ip *ip = (struct ip *)(m->m_data + hoff); in vtnet_rxq_csum_data_valid()
1860 if (__predict_false(m->m_len < hoff + sizeof(struct ip6_hdr)) in vtnet_rxq_csum_data_valid()
1861 || ip6_lasthdr(m, hoff, IPPROTO_IPV6, &protocol) < 0) in vtnet_rxq_csum_data_valid()
1900 int hoff; in vtnet_rxq_csum() local
1910 hoff = sizeof(struct ether_vlan_header); in vtnet_rxq_csum()
1912 hoff = sizeof(struct ether_header); in vtnet_rxq_csum()
1915 return (vtnet_rxq_csum_needs_csum(rxq, m, etype, hoff, hdr)); in vtnet_rxq_csum()
1917 return (vtnet_rxq_csum_data_valid(rxq, m, etype, hoff, hdr)); in vtnet_rxq_csum()