Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/bpf/progs/
H A Dtest_xdp_vlan.c35 __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_vlan_change()
163 bpf_htons((bpf_ntohs(vlan_hdr->h_vlan_TCI) & 0xf000U) in xdp_vlan_change()
H A Dbpf_flow.c45 __be16 h_vlan_TCI; member
/linux/include/linux/
H A Dif_vlan.h36 __be16 h_vlan_TCI; member
54 __be16 h_vlan_TCI; member
388 veth->h_vlan_TCI = htons(vlan_tci); in __vlan_insert_inner_tag()
558 *vlan_tci = ntohs(veth->h_vlan_TCI); in __vlan_get_tag()
733 *vlan_tci = ntohs(vhdr->h_vlan_TCI); in vlan_remove_tag()
827 return ((__force u32)h1->h_vlan_TCI ^ (__force u32)h2->h_vlan_TCI) | in compare_vlan_header()
/linux/net/netfilter/
H A Dnft_payload.c35 veth->h_vlan_TCI = htons(skb_vlan_tag_get(skb)); in nft_payload_rebuild_vlan_hdr()
335 case offsetof(struct vlan_ethhdr, h_vlan_TCI): in nft_payload_offload_ll()
351 case offsetof(struct vlan_ethhdr, h_vlan_TCI) + sizeof(struct vlan_hdr): in nft_payload_offload_ll()
811 __be16 h_vlan_TCI; member
835 ntohs(vlanh->h_vlan_TCI)); in nft_payload_set_vlan()
840 case offsetof(struct vlan_ethhdr, h_vlan_TCI): in nft_payload_set_vlan()
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()
/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/net/batman-adv/
H A Dmain.c360 prio = ntohs(vhdr->h_vlan_TCI) & VLAN_PRIO_MASK; in batadv_skb_set_priority()
584 vid = ntohs(vhdr->h_vlan_TCI) & VLAN_VID_MASK; in batadv_get_vid()
/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/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()
H A Dtun.c221 __be16 h_vlan_TCI; member
2092 veth.h_vlan_TCI = htons(skb_vlan_tag_get(skb)); in tun_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/mellanox/mlx5/core/en/
H A Dtc_tun.c211 vlan->h_vlan_TCI = htons(vlan_dev_vlan_id(dev)); in gen_eth_tnl_hdr()
/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()
/linux/include/uapi/linux/
H A Dbpf.h7366 __be16 h_vlan_TCI;
7338 __be16 h_vlan_TCI; global() member
/linux/tools/include/uapi/linux/
H A Dbpf.h7365 __be16 h_vlan_TCI;
7337 __be16 h_vlan_TCI; global() member
/linux/drivers/net/ethernet/toshiba/
H A Dps3_gelic_net.c766 veth->h_vlan_TCI = htons(tag); in gelic_put_vlan_tag()

12