Home
last modified time | relevance | path

Searched refs:evl (Results 1 – 4 of 4) sorted by relevance

/xnu-11215.1.10/bsd/skywalk/nexus/netif/
H A Dnx_netif_util.c77 struct ether_vlan_header *evl; in fill_vlan_info() local
81 if (fpkt->pkt_length < sizeof(*evl)) { in fill_vlan_info()
88 evl = (struct ether_vlan_header *)(void *)buf; in fill_vlan_info()
89 if (ntohs(evl->evl_encap_proto) == ETHERTYPE_VLAN) { in fill_vlan_info()
90 tag = ntohs(evl->evl_tag); in fill_vlan_info()
/xnu-11215.1.10/bsd/net/
H A Dif_vlan.c1000 struct ether_vlan_header * evl; in vlan_output() local
1063 if (m->m_len < (int)sizeof(*evl)) { in vlan_output()
1064 m = m_pullup(m, sizeof(*evl)); in vlan_output()
1083 evl = mtod(m, struct ether_vlan_header *); in vlan_output()
1084 evl->evl_proto = evl->evl_encap_proto; in vlan_output()
1085 evl->evl_encap_proto = htons(ETHERTYPE_VLAN); in vlan_output()
1086 evl->evl_tag = htons(tag); in vlan_output()
H A Dif_fake.c669 struct ether_vlan_header evl; in fake_bpf_tap_common() local
673 header = get_bpf_header(m, eh_p, &evl, &header_len); in fake_bpf_tap_common()
H A Dif_bond.c1077 struct ether_vlan_header evl; in bond_bpf_tap_common() local
1081 header = get_bpf_header(m, eh_p, &evl, &header_len); in bond_bpf_tap_common()