Lines Matching refs:vlan
635 * re-entry (e.g. bridge, vlan, netgraph) but should not be
1256 struct ether_vlan_header vlan;
1260 ("%s: vlan information not present", __func__));
1263 bcopy(mtod(m, char *), &vlan, sizeof(struct ether_header));
1264 vlan.evl_proto = vlan.evl_encap_proto;
1265 vlan.evl_encap_proto = htons(ETHERTYPE_VLAN);
1266 vlan.evl_tag = htons(m->m_pkthdr.ether_vtag);
1274 * (2) mbuf #2 will contain the vlan header
1277 * Otherwise, submit the packet and vlan header via bpf_mtap2().
1281 mv.m_data = (caddr_t)&vlan;
1282 mv.m_len = sizeof(vlan);
1288 bpf_mtap2(bp, &vlan, sizeof(vlan), m);