Lines Matching refs:evh
1909 const struct ether_vlan_header *evh = in vtnet_rxq_csum() local
1911 etype = ntohs(evh->evl_proto); in vtnet_rxq_csum()
2376 struct ether_vlan_header *evh; in vtnet_txq_offload_ctx() local
2383 evh = mtod(m, struct ether_vlan_header *); in vtnet_txq_offload_ctx()
2384 if (evh->evl_encap_proto == htons(ETHERTYPE_VLAN)) { in vtnet_txq_offload_ctx()
2386 *etype = ntohs(evh->evl_proto); in vtnet_txq_offload_ctx()
2391 *etype = ntohs(evh->evl_encap_proto); in vtnet_txq_offload_ctx()
4063 struct ether_vlan_header *evh; in vtnet_vlan_tag_remove() local
4065 evh = mtod(m, struct ether_vlan_header *); in vtnet_vlan_tag_remove()
4066 m->m_pkthdr.ether_vtag = ntohs(evh->evl_tag); in vtnet_vlan_tag_remove()
4070 bcopy((char *) evh, (char *) evh + ETHER_VLAN_ENCAP_LEN, in vtnet_vlan_tag_remove()