Home
last modified time | relevance | path

Searched refs:eth_type_vlan (Results 1 – 18 of 18) sorted by relevance

/linux/include/linux/
H A Dif_vlan.h316 * eth_type_vlan - check for valid vlan ether type.
321 static inline bool eth_type_vlan(__be16 ethertype) in eth_type_vlan() function
554 if (!eth_type_vlan(veth->h_vlan_proto)) in __vlan_get_tag()
617 if (eth_type_vlan(type)) { in __vlan_get_protocol_offset()
635 } while (eth_type_vlan(type)); in __vlan_get_protocol_offset()
758 likely(!eth_type_vlan(skb->protocol))) in skb_vlan_tagged()
778 if (likely(!eth_type_vlan(protocol))) in skb_vlan_tagged_multi()
788 if (!eth_type_vlan(protocol)) in skb_vlan_tagged_multi()
/linux/net/bridge/
H A Dbr_forward.c42 eth_type_vlan(skb->protocol)) { in br_dev_queue_push_xmit()
H A Dbr_netlink.c1186 !eth_type_vlan(nla_get_be16(data[IFLA_BR_VLAN_PROTOCOL]))) in br_validate()
H A Dbr_vlan.c1014 if (!eth_type_vlan(htons(val))) in br_vlan_set_proto()
/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_sriov.c110 if (!eth_type_vlan(vlan_proto)) in nfp_app_set_vf_vlan()
/linux/net/openvswitch/
H A Dvport.c530 eth_type_vlan(skb->protocol)) in packet_length()
/linux/drivers/net/
H A Dtap.c662 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 Dip_tunnels.h481 if (eth_type_vlan(type)) in skb_vlan_inet_prepare()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_txrx.c825 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 Dotx2_tc.c585 if (!eth_type_vlan(match.key->vlan_tpid)) { in otx2_tc_process_vlan()
/linux/net/packet/
H A Daf_packet.c575 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()
1988 eth_type_vlan(skb->protocol) && in packet_parse_headers()
2478 } else if (unlikely(sk->sk_type == SOCK_DGRAM && eth_type_vlan(skb->protocol))) { in tpacket_rcv()
3593 } else if (unlikely(sock->type == SOCK_DGRAM && eth_type_vlan(skb->protocol))) { in packet_recvmsg()
/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_main.c537 if (eth_type_vlan(skb->protocol)) { in lan966x_hw_offload()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_ethtool_fdir.c1214 if (fsp->m_ext.vlan_etype && !eth_type_vlan(fsp->h_ext.vlan_etype)) in ice_fdir_vlan_valid()
H A Dice_txrx.c2090 if (!skb_vlan_tag_present(skb) && eth_type_vlan(skb->protocol)) in ice_tx_prepare_vlan_flags()
/linux/drivers/net/hyperv/
H A Dnetvsc_drv.c537 if (eth_type_vlan(eth_hdr(skb)->h_proto)) { in netvsc_xmit()
/linux/drivers/net/ethernet/freescale/
H A Dfec_main.c3776 if (eth_type_vlan(skb->protocol)) { in fec_enet_select_queue()
/linux/net/core/
H A Ddev.c5799 if (eth_type_vlan(skb->protocol)) { in __netif_receive_skb_core()
5889 } else if (eth_type_vlan(skb->protocol)) { in __netif_receive_skb_core()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c1959 if (eth_type_vlan(vlan_proto)) { in bnxt_tpa_end()
2038 if (eth_type_vlan(vlan_proto)) in bnxt_rx_vlan()