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

/macosx-10.5.8/xnu-1228.15.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.c422 if (m->m_len < ETHER_VLAN_ENCAP_LEN
434 m->m_len -= ETHER_VLAN_ENCAP_LEN;
435 m->m_data += ETHER_VLAN_ENCAP_LEN;
436 m->m_pkthdr.len -= ETHER_VLAN_ENCAP_LEN;
H A Dif_vlan.c840 ifnet_set_hdrlen(ifp, ETHER_VLAN_ENCAP_LEN);
1040 if (m->m_len < ETHER_VLAN_ENCAP_LEN) {
1096 m->m_len -= ETHER_VLAN_ENCAP_LEN;
1097 m->m_data += ETHER_VLAN_ENCAP_LEN;
1098 m->m_pkthdr.len -= ETHER_VLAN_ENCAP_LEN;
1107 soft_vlan ? ETHER_VLAN_ENCAP_LEN : 0);
1231 ifv->ifv_encaplen = ETHER_VLAN_ENCAP_LEN;
H A Dif_bond.c1006 vl_m->m_len = ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN;
1547 m->m_pkthdr.len + ETHER_VLAN_ENCAP_LEN,
1756 + ETHER_VLAN_ENCAP_LEN), 0);

Completed in 34 milliseconds