Home
last modified time | relevance | path

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

12

/linux-6.12.1/tools/testing/selftests/bpf/progs/
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_prognum1()
163 bpf_htons((bpf_ntohs(vlan_hdr->h_vlan_TCI) & 0xf000U) in xdp_prognum1()
Dbpf_flow.c45 __be16 h_vlan_TCI; member
/linux-6.12.1/include/linux/
Dif_vlan.h36 __be16 h_vlan_TCI; member
54 __be16 h_vlan_TCI; member
381 veth->h_vlan_TCI = htons(vlan_tci); in __vlan_insert_inner_tag()
545 *vlan_tci = ntohs(veth->h_vlan_TCI); in __vlan_get_tag()
719 *vlan_tci = ntohs(vhdr->h_vlan_TCI); in vlan_remove_tag()
811 return ((__force u32)h1->h_vlan_TCI ^ (__force u32)h2->h_vlan_TCI) | in compare_vlan_header()
/linux-6.12.1/net/netfilter/
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()
Dnf_tables_trace.c60 veth.h_vlan_TCI = htons(skb_vlan_tag_get(skb)); in nf_trace_fill_ll_header()
Dnf_flow_table_ip.c156 tuple->encap[i].id = ntohs(veth->h_vlan_TCI); in nf_flow_tuple_encap()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
Dvlan_mangle.c22 .mangle.offset = offsetof(struct vlan_ethhdr, h_vlan_TCI), in mlx5e_tc_act_vlan_add_rewrite_action()
/linux-6.12.1/net/bridge/netfilter/
Debt_vlan.c47 TCI = ntohs(fp->h_vlan_TCI); in ebt_vlan_mt()
/linux-6.12.1/net/batman-adv/
Dmain.c382 prio = ntohs(vhdr->h_vlan_TCI) & VLAN_PRIO_MASK; in batadv_skb_set_priority()
639 vid = ntohs(vhdr->h_vlan_TCI) & VLAN_VID_MASK; in batadv_get_vid()
/linux-6.12.1/arch/powerpc/platforms/ps3/
Dgelic_udbg.c161 h_vlan->h_vlan_TCI = vlan_id; in gelic_debug_init()
/linux-6.12.1/samples/bpf/
Dsockex2_kern.c14 __be16 h_vlan_TCI; member
Dsockex3_kern.c26 __be16 h_vlan_TCI; member
/linux-6.12.1/drivers/staging/gdm724x/
Dgdm_lte.c440 nic->vlan_id = ntohs(vlan_eth->h_vlan_TCI) & VLAN_VID_MASK; in gdm_lte_tx()
635 vlan_eth.h_vlan_TCI = htons(nic->vlan_id); in gdm_lte_netif_rx()
/linux-6.12.1/drivers/net/
Dtap.c824 __be16 h_vlan_TCI; in tap_put_user() member
827 veth.h_vlan_TCI = htons(skb_vlan_tag_get(skb)); in tap_put_user()
/linux-6.12.1/drivers/scsi/fnic/
Dfnic_fcs.c1032 vlan_hdr->h_vlan_TCI = htons(fnic->vlan_id); in fnic_eth_send()
1097 vlan_hdr->h_vlan_TCI = htons(fnic->vlan_id); in fnic_send_frame()
/linux-6.12.1/drivers/net/ethernet/qlogic/qlcnic/
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-6.12.1/net/core/
Dflow_dissector.c1336 key_vlan->vlan_id = ntohs(vlan->h_vlan_TCI) & in __skb_flow_dissect()
1339 (ntohs(vlan->h_vlan_TCI) & in __skb_flow_dissect()
/linux-6.12.1/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c195 vlan.h_vlan_TCI = data->vlan_tag; in i40e_create_dummy_packet()
3036 tx_flags |= ntohs(vhdr->h_vlan_TCI) << I40E_TX_FLAGS_VLAN_SHIFT; in i40e_tx_prepare_vlan_flags()
3057 vhdr->h_vlan_TCI = htons(tx_flags >> in i40e_tx_prepare_vlan_flags()
/linux-6.12.1/net/8021q/
Dvlan_dev.c61 vhdr->h_vlan_TCI = htons(vlan_tci); in vlan_dev_hard_header()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Den_tx.c111 vhdr->h_vlan_TCI = cpu_to_be16(skb_vlan_tag_get(skb)); in mlx5e_insert_vlan()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun.c213 vlan->h_vlan_TCI = htons(vlan_dev_vlan_id(dev)); in gen_eth_tnl_hdr()
/linux-6.12.1/drivers/net/ethernet/intel/fm10k/
Dfm10k_netdev.c550 ntohs(vhdr->h_vlan_TCI)); in fm10k_xmit_frame()
/linux-6.12.1/drivers/infiniband/hw/irdma/
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()
3167 vtag = ntohs(ethh->h_vlan_TCI); in irdma_receive_ilq()
/linux-6.12.1/include/uapi/linux/
Dbpf.h7213 __be16 h_vlan_TCI; member
/linux-6.12.1/tools/include/uapi/linux/
Dbpf.h7213 __be16 h_vlan_TCI; member

12