Searched refs:ETHER_VLAN_ENCAP_LEN (Results 1 - 4 of 4) sorted by relevance

/xnu-2422.115.4/bsd/net/
H A Dif_vlan_var.h62 #define ETHER_VLAN_ENCAP_LEN 4 /* len of 802.1Q VLAN encapsulation */ macro
H A Dether_if_module.c400 if (m->m_len < ETHER_VLAN_ENCAP_LEN ||
412 m->m_len -= ETHER_VLAN_ENCAP_LEN;
413 m->m_data += ETHER_VLAN_ENCAP_LEN;
414 m->m_pkthdr.len -= ETHER_VLAN_ENCAP_LEN;
H A Dif_vlan.c999 ifnet_set_hdrlen(ifp, ETHER_VLAN_ENCAP_LEN);
1223 if (m->m_len < ETHER_VLAN_ENCAP_LEN) {
1279 m->m_len -= ETHER_VLAN_ENCAP_LEN;
1280 m->m_data += ETHER_VLAN_ENCAP_LEN;
1281 m->m_pkthdr.len -= ETHER_VLAN_ENCAP_LEN;
1290 soft_vlan ? ETHER_VLAN_ENCAP_LEN : 0);
1425 ifv->ifv_encaplen = ETHER_VLAN_ENCAP_LEN;
H A Dif_bond.c974 vl_m->m_len = ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN;
1522 m->m_pkthdr.len + ETHER_VLAN_ENCAP_LEN,
1741 + ETHER_VLAN_ENCAP_LEN), 0);

Completed in 36 milliseconds