Searched refs:ETH_P_VLAN (Results 1 – 11 of 11) sorted by relevance
218 #define ETH_P_VLAN (0x8100) macro304 case ETH_P_VLAN: in eth_get_l2_hdr_length()307 if (be16_to_cpu(hvlan->h_proto) == ETH_P_VLAN) { in eth_get_l2_hdr_length()336 case ETH_P_VLAN: in eth_get_pkt_tci()
79 case ETH_P_VLAN: in net_checksum_calculate()84 if (lduw_be_p(&PKT_GET_VLAN_HDR(data)->h_proto) == ETH_P_VLAN) { in net_checksum_calculate()
237 case ETH_P_VLAN: in eth_strip_vlan()251 if (be16_to_cpu(new_ehdr->h_proto) == ETH_P_VLAN) { in eth_strip_vlan()
90 net_tx_pkt_setup_vlan_header_ex(pkt, vlan, ETH_P_VLAN); in net_tx_pkt_setup_vlan_header()
264 return max + (proto == ETH_P_VLAN ? 4 : 0); in ftgmac100_max_frame_size()523 stw_be_p(vlan_hdr, ETH_P_VLAN); in ftgmac100_insert_vlan()596 be16_to_cpu(PKT_GET_ETH_HDR(s->frame)->h_proto) != ETH_P_VLAN) { in ftgmac100_do_tx()1105 if (first && proto == ETH_P_VLAN && buf_len >= 18) { in ftgmac100_receive()
524 s->core.mac[VET] = ETH_P_VLAN; in e1000e_qdev_reset_hold()
187 case ETH_P_VLAN: in net_tx_pkt_parse_headers()
1005 lduw_be_p(&buf[ETH_ALEN * 2]) == ETH_P_VLAN) { in rtl8139_do_receive()2056 dot1q_buffer[0] = cpu_to_be16(ETH_P_VLAN); in rtl8139_cplus_transmit_one()
403 d->mac_reg[VET] = ETH_P_VLAN; in e1000_reset_hold()
4403 [VET] = ETH_P_VLAN | (ETH_P_VLAN << 16),
407 if (ntohs(*fields->h_proto) == ETH_P_VLAN) { in of_dpa_flow_pkt_parse()464 fields->ethhdr->h_proto = htons(ETH_P_VLAN); in of_dpa_flow_pkt_insert_vlan()