Home
last modified time | relevance | path

Searched refs:ETH_P_VLAN (Results 1 – 11 of 11) sorted by relevance

/qemu/include/net/
H A Deth.h218 #define ETH_P_VLAN (0x8100) macro
304 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()
/qemu/net/
H A Dchecksum.c79 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()
H A Deth.c237 case ETH_P_VLAN: in eth_strip_vlan()
251 if (be16_to_cpu(new_ehdr->h_proto) == ETH_P_VLAN) { in eth_strip_vlan()
/qemu/hw/net/
H A Dnet_tx_pkt.h90 net_tx_pkt_setup_vlan_header_ex(pkt, vlan, ETH_P_VLAN); in net_tx_pkt_setup_vlan_header()
H A Dftgmac100.c250 return max + (proto == ETH_P_VLAN ? 4 : 0); in ftgmac100_max_frame_size()
509 stw_be_p(vlan_hdr, ETH_P_VLAN); in ftgmac100_insert_vlan()
574 be16_to_cpu(PKT_GET_ETH_HDR(s->frame)->h_proto) != ETH_P_VLAN) { in ftgmac100_do_tx()
1024 if (first && proto == ETH_P_VLAN && buf_len >= 18) { in ftgmac100_receive()
H A De1000e.c524 s->core.mac[VET] = ETH_P_VLAN; in e1000e_qdev_reset_hold()
H A Dnet_tx_pkt.c187 case ETH_P_VLAN: in net_tx_pkt_parse_headers()
H A Drtl8139.c1007 lduw_be_p(&buf[ETH_ALEN * 2]) == ETH_P_VLAN) { in rtl8139_do_receive()
2058 dot1q_buffer[0] = cpu_to_be16(ETH_P_VLAN); in rtl8139_cplus_transmit_one()
H A De1000.c403 d->mac_reg[VET] = ETH_P_VLAN; in e1000_reset_hold()
H A Digb_core.c4405 [VET] = ETH_P_VLAN | (ETH_P_VLAN << 16),
/qemu/hw/net/rocker/
H A Drocker_of_dpa.c407 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()