Home
last modified time | relevance | path

Searched refs:VLAN_IDMASK (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/net/
H A Dnet.c1158 if ((ntohs(net_our_vlan) & VLAN_IDMASK) == VLAN_NONE in net_process_received_packet()
1166 vlanid = cti & VLAN_IDMASK; in net_process_received_packet()
1182 if ((myvlanid & VLAN_IDMASK) != VLAN_NONE) { in net_process_received_packet()
1184 vlanid = (mynvlanid & VLAN_IDMASK); in net_process_received_packet()
1186 if (vlanid != (myvlanid & VLAN_IDMASK)) in net_process_received_packet()
1451 return ((myvlanid & VLAN_IDMASK) == VLAN_NONE) ? ETHER_HDR_SIZE : in net_eth_hdr_size()
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()
1622 sprintf(s, "%d", x & VLAN_IDMASK); in vlan_to_string()
/openbmc/u-boot/include/
H A Dnet.h524 #define VLAN_IDMASK 0x0fff /* mask of valid vlan id */ macro