Home
last modified time | relevance | path

Searched refs:h_vlan_TCI (Results 1 – 25 of 34) sorted by relevance

12

/linux/tools/testing/selftests/bpf/progs/
H A Dtest_xdp_vlan.c31 * @h_vlan_TCI: priority and VLAN ID
35 __be16 h_vlan_TCI; member
76 pkt->vlan_outer = bpf_ntohs(vlan_hdr->h_vlan_TCI) in parse_eth_frame()
89 pkt->vlan_inner = bpf_ntohs(vlan_hdr->h_vlan_TCI) in parse_eth_frame()
162 vlan_hdr->h_vlan_TCI = in xdp_prognum1()
163 bpf_htons((bpf_ntohs(vlan_hdr->h_vlan_TCI) & 0xf000U) in xdp_prognum1()
218 * overwritten, is ethhdr->h_proto and vlan_hdr->h_vlan_TCI. in shift_mac_4bytes_32bit()
H A Dbpf_flow.c45 __be16 h_vlan_TCI; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
H A Dvlan_mangle.c22 .mangle.offset = offsetof(struct vlan_ethhdr, h_vlan_TCI), in mlx5e_tc_act_vlan_add_rewrite_action()
/linux/net/bridge/netfilter/
H A Debt_vlan.c47 TCI = ntohs(fp->h_vlan_TCI); in ebt_vlan_mt()
/linux/arch/powerpc/platforms/ps3/
H A Dgelic_udbg.c161 h_vlan->h_vlan_TCI = vlan_id; in gelic_debug_init()
/linux/samples/bpf/
H A Dsockex2_kern.c14 __be16 h_vlan_TCI; member
H A Dsockex3_kern.c26 __be16 h_vlan_TCI; member
/linux/net/netfilter/
H A Dnf_tables_trace.c61 veth.h_vlan_TCI = htons(skb_vlan_tag_get(skb)); in nf_trace_fill_ll_header()
H A Dnf_flow_table_ip.c180 tuple->encap[i].id = ntohs(veth->h_vlan_TCI); in nf_flow_tuple_encap()
546 vhdr->h_vlan_TCI = htons(skb_vlan_tag_get(skb)); in nf_flow_vlan_push()
/linux/drivers/net/
H A Dtap.c732 __be16 h_vlan_TCI; in tap_put_user() member
735 veth.h_vlan_TCI = htons(skb_vlan_tag_get(skb)); in tap_put_user()
/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_io.c322 vlan_id = ntohs(vh->h_vlan_TCI); in qlcnic_send_filter()
472 vlan_tci = ntohs(vh->h_vlan_TCI); in qlcnic_tx_pkt()
528 vh->h_vlan_TCI = htons(vlan_tci); in qlcnic_tx_pkt()
/linux/net/core/
H A Dflow_dissector.c1346 key_vlan->vlan_id = ntohs(vlan->h_vlan_TCI) & in __skb_flow_dissect()
1349 (ntohs(vlan->h_vlan_TCI) & in __skb_flow_dissect()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_txrx.c196 vlan.h_vlan_TCI = data->vlan_tag; in i40e_create_dummy_packet()
3034 tx_flags |= ntohs(vhdr->h_vlan_TCI) << I40E_TX_FLAGS_VLAN_SHIFT; in i40e_tx_prepare_vlan_flags()
3055 vhdr->h_vlan_TCI = htons(tx_flags >> in i40e_tx_prepare_vlan_flags()
/linux/net/8021q/
H A Dvlan_dev.c62 vhdr->h_vlan_TCI = htons(vlan_tci); in vlan_dev_hard_header()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tx.c112 vhdr->h_vlan_TCI = cpu_to_be16(skb_vlan_tag_get(skb)); in mlx5e_insert_vlan()
/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_netdev.c550 ntohs(vhdr->h_vlan_TCI)); in fm10k_xmit_frame()
/linux/drivers/infiniband/hw/irdma/
H A Dcm.c484 ((struct vlan_ethhdr *)ethh)->h_vlan_TCI = htons(vtag); in irdma_form_uda_cm_frame()
517 ((struct vlan_ethhdr *)ethh)->h_vlan_TCI = htons(vtag); in irdma_form_uda_cm_frame()
3171 vtag = ntohs(ethh->h_vlan_TCI); in irdma_receive_ilq()
H A Dutils.c1552 buf->vlan_id = ntohs(((struct vlan_ethhdr *)ethh)->h_vlan_TCI) & in irdma_gen1_puda_get_tcpip_info()
/linux/tools/include/uapi/linux/
H A Dbpf.h7367 __be16 h_vlan_TCI;
7331 __be16 h_vlan_TCI; global() member
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dbridge.c1030 __be16 h_vlan_TCI; in mlx5_esw_bridge_vlan_push_create() member
/linux/drivers/s390/net/
H A Dqeth_l3_main.c1659 hdr->hdr.l3.vlan_id = ntohs(veth->h_vlan_TCI); in qeth_l3_fill_header()
H A Dqeth_l2_main.c189 hdr->hdr.l2.vlan_id = ntohs(veth->h_vlan_TCI); in qeth_l2_fill_header()
/linux/drivers/net/ethernet/freescale/
H A Dfec_main.c1789 const u16 vlan_tag = ntohs(vlan_header->h_vlan_TCI); in fec_enet_rx_vlan()
4401 vlan_tag = ntohs(vhdr->h_vlan_TCI); in fec_enet_select_queue()
/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-switch.c2491 vid = ntohs(hdr->h_vlan_TCI) & VLAN_VID_MASK; in dpaa2_switch_rx()
/linux/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_main.c1931 vh->h_vlan_TCI = htons(vid); in netxen_tso_check()

12