Lines Matching defs:evhp
1674 struct ether_vlan_header *evhp =
1677 if (PKT_TOO_SMALL(s, l2->l2_start + sizeof (*evhp)))
1680 l2->l2_sap = ntohs(evhp->ether_type);
1681 l2->l2_vid = VLAN_ID(ntohs(evhp->ether_tci));
1682 l2->l2_hdrsize = sizeof (*evhp);
1701 struct ether_vlan_header *evhp;
1703 evhp = (struct ether_vlan_header *)l2->l2_start;
1704 l2->l2_daddr = evhp->ether_dhost.ether_addr_octet;
1722 struct ether_vlan_header *evhp;
1725 evhp = (struct ether_vlan_header *)s->fs_mp->b_rptr;
1726 l2->l2_start = (uchar_t *)evhp;
1731 if ((sap = ntohs(evhp->ether_tpid)) == ETHERTYPE_VLAN &&
1733 if (PKT_TOO_SMALL(s, l2->l2_start + sizeof (*evhp)))
1736 l2->l2_sap = ntohs(evhp->ether_type);
1737 l2->l2_vid = VLAN_ID(ntohs(evhp->ether_tci));