| /linux/include/linux/ |
| H A D | if_vlan.h | 321 static inline bool eth_type_vlan(__be16 ethertype) in eth_type_vlan() function 555 if (!eth_type_vlan(veth->h_vlan_proto)) in __vlan_get_tag() 622 if (eth_type_vlan(type)) { in vlan_get_protocol_offset_inline() 750 likely(!eth_type_vlan(skb->protocol))) in skb_vlan_tagged() 770 if (likely(!eth_type_vlan(protocol))) in skb_vlan_tagged_multi() 780 if (!eth_type_vlan(protocol)) in skb_vlan_tagged_multi()
|
| /linux/drivers/net/ethernet/netronome/nfp/ |
| H A D | nfp_net_sriov.c | 110 if (!eth_type_vlan(vlan_proto)) in nfp_app_set_vf_vlan()
|
| /linux/net/bridge/ |
| H A D | br_forward.c | 42 eth_type_vlan(skb->protocol)) { in br_dev_queue_push_xmit()
|
| H A D | br_netlink.c | 1186 !eth_type_vlan(nla_get_be16(data[IFLA_BR_VLAN_PROTOCOL]))) in br_validate()
|
| H A D | br_vlan.c | 1016 if (!eth_type_vlan(htons(val))) in br_vlan_set_proto()
|
| /linux/net/openvswitch/ |
| H A D | vport.c | 530 eth_type_vlan(skb->protocol)) in packet_length()
|
| H A D | flow.c | 451 if (likely(!eth_type_vlan(vh->tpid))) in parse_vlan_tag() 923 if (unlikely(eth_type_vlan(skb->protocol))) in key_extract()
|
| H A D | flow_netlink.c | 1019 eth_type_vlan(nla_get_be16(a[OVS_KEY_ATTR_ETHERTYPE])))) { in validate_vlan_from_nlattrs() 2044 if (swkey->eth.vlan.tci || eth_type_vlan(swkey->eth.type)) { in __ovs_nla_put_key() 2051 if (swkey->eth.cvlan.tci || eth_type_vlan(swkey->eth.type)) { in __ovs_nla_put_key() 2079 if (eth_type_vlan(swkey->eth.type)) { in __ovs_nla_put_key() 3248 if (!eth_type_vlan(vlan->vlan_tpid)) in __ovs_nla_copy_actions()
|
| /linux/drivers/net/ |
| H A D | tap.c | 662 if (eth_type_vlan(skb->protocol) && in tap_get_user() 1082 if (eth_type_vlan(skb->protocol) && in tap_get_user_xdp()
|
| /linux/include/net/ |
| H A D | ip_tunnels.h | 501 if (eth_type_vlan(type)) in skb_vlan_inet_prepare()
|
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_txrx.c | 825 if (eth_type_vlan(skb->protocol)) in otx2_sqe_add_hdr() 1092 } else if (eth_type_vlan(eth->h_proto)) { in otx2_ptp_is_sync()
|
| H A D | otx2_tc.c | 585 if (!eth_type_vlan(match.key->vlan_tpid)) { in otx2_tc_process_vlan()
|
| /linux/net/packet/ |
| H A D | af_packet.c | 574 if (unlikely(eth_type_vlan(proto))) in vlan_get_protocol_dgram() 1004 } else if (unlikely(po->sk.sk_type == SOCK_DGRAM && eth_type_vlan(pkc->skb->protocol))) { in prb_fill_vlan_info() 1934 eth_type_vlan(skb->protocol) && in packet_parse_headers() 2424 } else if (unlikely(sk->sk_type == SOCK_DGRAM && eth_type_vlan(skb->protocol))) { in tpacket_rcv() 3541 } else if (unlikely(sock->type == SOCK_DGRAM && eth_type_vlan(skb->protocol))) { in packet_recvmsg()
|
| /linux/drivers/net/ethernet/broadcom/bnge/ |
| H A D | bnge_txrx.c | 686 if (eth_type_vlan(vlan_proto)) { in bnge_tpa_end() 743 if (eth_type_vlan(vlan_proto)) in bnge_rx_vlan()
|
| /linux/drivers/net/ethernet/microchip/lan966x/ |
| H A D | lan966x_main.c | 537 if (eth_type_vlan(skb->protocol)) { in lan966x_hw_offload()
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_ethtool_fdir.c | 1214 if (fsp->m_ext.vlan_etype && !eth_type_vlan(fsp->h_ext.vlan_etype)) in ice_fdir_vlan_valid()
|
| H A D | ice_txrx.c | 1808 if (!skb_vlan_tag_present(skb) && eth_type_vlan(skb->protocol)) in ice_tx_prepare_vlan_flags()
|
| /linux/net/core/ |
| H A D | skbuff.c | 6436 if (unlikely(!eth_type_vlan(skb->protocol))) in skb_vlan_pop() 6444 if (likely(!eth_type_vlan(skb->protocol))) in skb_vlan_pop() 7490 } while (eth_type_vlan(type)); in __vlan_get_protocol_offset()
|
| H A D | dev.c | 6001 if (eth_type_vlan(skb->protocol)) { in __netif_receive_skb_core() 6091 } else if (eth_type_vlan(skb->protocol)) { in __netif_receive_skb_core()
|
| /linux/drivers/net/hyperv/ |
| H A D | netvsc_drv.c | 537 if (eth_type_vlan(eth_hdr(skb)->h_proto)) { in netvsc_xmit()
|
| /linux/net/sched/ |
| H A D | cls_flower.c | 1815 if (good_num_of_vlans || eth_type_vlan(*ethertype)) in is_vlan_key()
|
| /linux/drivers/net/ethernet/freescale/ |
| H A D | fec_main.c | 4398 if (eth_type_vlan(skb->protocol)) { in fec_enet_select_queue()
|
| /linux/drivers/net/ethernet/hisilicon/hns3/ |
| H A D | hns3_enet.c | 3869 while (eth_type_vlan(type)) { in hns3_gro_complete()
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt.c | 1975 if (eth_type_vlan(vlan_proto)) { in bnxt_tpa_end() 2055 if (eth_type_vlan(vlan_proto)) in bnxt_rx_vlan()
|