/openbmc/linux/include/linux/ |
H A D | if_vlan.h | 315 static inline bool eth_type_vlan(__be16 ethertype) in eth_type_vlan() function 542 if (!eth_type_vlan(veth->h_vlan_proto)) in __vlan_get_tag() 605 if (eth_type_vlan(type)) { in __vlan_get_protocol_offset() 623 } while (eth_type_vlan(type)); in __vlan_get_protocol_offset() 746 likely(!eth_type_vlan(skb->protocol))) in skb_vlan_tagged() 766 if (likely(!eth_type_vlan(protocol))) in skb_vlan_tagged_multi() 776 if (!eth_type_vlan(protocol)) in skb_vlan_tagged_multi()
|
/openbmc/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()
|
/openbmc/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 | 1012 if (!eth_type_vlan(htons(val))) in br_vlan_set_proto()
|
/openbmc/linux/net/openvswitch/ |
H A D | vport.c | 528 eth_type_vlan(skb->protocol)) in packet_length()
|
H A D | flow.c | 455 if (likely(!eth_type_vlan(vh->tpid))) in parse_vlan_tag() 927 if (unlikely(eth_type_vlan(skb->protocol))) in key_extract()
|
H A D | flow_netlink.c | 1006 eth_type_vlan(nla_get_be16(a[OVS_KEY_ATTR_ETHERTYPE])))) { in validate_vlan_from_nlattrs() 2068 if (swkey->eth.vlan.tci || eth_type_vlan(swkey->eth.type)) { in __ovs_nla_put_key() 2075 if (swkey->eth.cvlan.tci || eth_type_vlan(swkey->eth.type)) { in __ovs_nla_put_key() 2103 if (eth_type_vlan(swkey->eth.type)) { in __ovs_nla_put_key() 3261 if (!eth_type_vlan(vlan->vlan_tpid)) in __ovs_nla_copy_actions()
|
/openbmc/linux/include/net/ |
H A D | ip_tunnels.h | 374 if (eth_type_vlan(type)) in skb_vlan_inet_prepare()
|
/openbmc/linux/drivers/net/ |
H A D | tap.c | 748 if (eth_type_vlan(skb->protocol) && in tap_get_user() 1208 if (eth_type_vlan(skb->protocol) && in tap_get_user_xdp()
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_txrx.c | 777 if (eth_type_vlan(skb->protocol)) in otx2_sqe_add_hdr() 1044 } else if (eth_type_vlan(eth->h_proto)) { in otx2_ptp_is_sync()
|
H A D | otx2_tc.c | 473 if (!eth_type_vlan(match.key->vlan_tpid)) { in otx2_tc_process_vlan()
|
/openbmc/linux/net/packet/ |
H A D | af_packet.c | 575 if (unlikely(eth_type_vlan(proto))) in vlan_get_protocol_dgram() 1057 } else if (unlikely(po->sk.sk_type == SOCK_DGRAM && eth_type_vlan(pkc->skb->protocol))) { in prb_fill_vlan_info() 1987 eth_type_vlan(skb->protocol) && in packet_parse_headers() 2481 } else if (unlikely(sk->sk_type == SOCK_DGRAM && eth_type_vlan(skb->protocol))) { in tpacket_rcv() 3601 } else if (unlikely(sock->type == SOCK_DGRAM && eth_type_vlan(skb->protocol))) { in packet_recvmsg()
|
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_main.c | 531 if (eth_type_vlan(skb->protocol)) { in lan966x_hw_offload()
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_txrx.c | 1973 if (!skb_vlan_tag_present(skb) && eth_type_vlan(skb->protocol)) in ice_tx_prepare_vlan_flags()
|
/openbmc/linux/drivers/net/hyperv/ |
H A D | netvsc_drv.c | 570 if (eth_type_vlan(eth_hdr(skb)->h_proto)) { in netvsc_xmit()
|
/openbmc/linux/net/core/ |
H A D | skbuff.c | 6004 if (unlikely(!eth_type_vlan(skb->protocol))) in skb_vlan_pop() 6012 if (likely(!eth_type_vlan(skb->protocol))) in skb_vlan_pop()
|
H A D | dev.c | 5426 if (eth_type_vlan(skb->protocol)) { in __netif_receive_skb_core() 5513 } else if (eth_type_vlan(skb->protocol)) { in __netif_receive_skb_core()
|
/openbmc/linux/net/sched/ |
H A D | cls_flower.c | 1697 if (good_num_of_vlans || eth_type_vlan(*ethertype)) in is_vlan_key()
|
/openbmc/linux/drivers/net/ethernet/freescale/ |
H A D | fec_main.c | 3778 if (eth_type_vlan(skb->protocol)) { in fec_enet_select_queue()
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_enet.c | 3824 while (eth_type_vlan(type)) { in hns3_gro_complete()
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt.c | 1715 if (eth_type_vlan(vlan_proto)) { in bnxt_tpa_end() 1991 if (eth_type_vlan(vlan_proto)) { in bnxt_rx_pkt()
|