Home | History | Annotate | Download | only in hyperv

Lines Matching defs:evl

1479 		struct ether_vlan_header *evl;
1481 m = hvn_pullup_hdr(m, sizeof(*evl));
1488 evl = mtod(m, struct ether_vlan_header *);
1489 if (evl->evl_encap_proto == htons(ETHERTYPE_VLAN)) {
1491 uint16_t proto = evl->evl_proto;
1493 vlan_set_tag(m, ntohs(evl->evl_tag));
1498 memmove((uint8_t *)evl + ETHER_VLAN_ENCAP_LEN,
1499 evl, ETHER_HDR_LEN);
1680 struct ether_vlan_header evl;
1700 memcpy(&evl, eh, ETHER_ADDR_LEN * 2);
1701 evl.evl_encap_proto = htons(ETHERTYPE_VLAN);
1702 evl.evl_tag = htons(vlan_get_tag(m));
1703 evl.evl_proto = eh->ether_type;
1708 bpf_mtap2(ifp->if_bpf, &evl, sizeof(evl), m, direction);
4830 struct ether_vlan_header *evl;
4837 evl = mtod(m, struct ether_vlan_header *);
4838 memcpy(evl, &eh, ETHER_ADDR_LEN * 2);
4839 evl->evl_encap_proto = htons(ETHERTYPE_VLAN);
4840 evl->evl_tag = htons(t);
4841 evl->evl_proto = eh.ether_type;