Lines Matching refs:myvlanid
1099 ushort cti = 0, vlanid = VLAN_NONE, myvlanid, mynvlanid; in net_process_received_packet() local
1123 myvlanid = ntohs(net_our_vlan); in net_process_received_packet()
1124 if (myvlanid == (ushort)-1) in net_process_received_packet()
1125 myvlanid = VLAN_NONE; in net_process_received_packet()
1182 if ((myvlanid & VLAN_IDMASK) != VLAN_NONE) { in net_process_received_packet()
1186 if (vlanid != (myvlanid & VLAN_IDMASK)) in net_process_received_packet()
1445 ushort myvlanid; in net_eth_hdr_size() local
1447 myvlanid = ntohs(net_our_vlan); in net_eth_hdr_size()
1448 if (myvlanid == (ushort)-1) in net_eth_hdr_size()
1449 myvlanid = VLAN_NONE; in net_eth_hdr_size()
1451 return ((myvlanid & VLAN_IDMASK) == VLAN_NONE) ? ETHER_HDR_SIZE : in net_eth_hdr_size()
1458 ushort myvlanid; in net_set_ether() local
1460 myvlanid = ntohs(net_our_vlan); in net_set_ether()
1461 if (myvlanid == (ushort)-1) in net_set_ether()
1462 myvlanid = VLAN_NONE; in net_set_ether()
1466 if ((myvlanid & VLAN_IDMASK) == VLAN_NONE) { in net_set_ether()
1474 vet->vet_tag = htons((0 << 5) | (myvlanid & VLAN_IDMASK)); in net_set_ether()