| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_xdp_vlan.c | 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_vlan_change() 163 bpf_htons((bpf_ntohs(vlan_hdr->h_vlan_TCI) & 0xf000U) in xdp_vlan_change()
|
| H A D | bpf_flow.c | 45 __be16 h_vlan_TCI; member
|
| /linux/include/linux/ |
| H A D | if_vlan.h | 36 __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 D | nft_payload.c | 35 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 D | nf_tables_trace.c | 61 veth.h_vlan_TCI = htons(skb_vlan_tag_get(skb)); in nf_trace_fill_ll_header()
|
| H A D | nf_flow_table_ip.c | 180 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 D | vlan_mangle.c | 22 .mangle.offset = offsetof(struct vlan_ethhdr, h_vlan_TCI), in mlx5e_tc_act_vlan_add_rewrite_action()
|
| /linux/net/bridge/netfilter/ |
| H A D | ebt_vlan.c | 47 TCI = ntohs(fp->h_vlan_TCI); in ebt_vlan_mt()
|
| /linux/net/batman-adv/ |
| H A D | main.c | 360 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 D | gelic_udbg.c | 161 h_vlan->h_vlan_TCI = vlan_id; in gelic_debug_init()
|
| /linux/samples/bpf/ |
| H A D | sockex2_kern.c | 14 __be16 h_vlan_TCI; member
|
| H A D | sockex3_kern.c | 26 __be16 h_vlan_TCI; member
|
| /linux/drivers/net/ |
| H A D | tap.c | 732 __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 D | tun.c | 221 __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 D | qlcnic_io.c | 322 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 D | flow_dissector.c | 1346 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 D | i40e_txrx.c | 196 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 D | vlan_dev.c | 62 vhdr->h_vlan_TCI = htons(vlan_tci); in vlan_dev_hard_header()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_tx.c | 112 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 D | tc_tun.c | 211 vlan->h_vlan_TCI = htons(vlan_dev_vlan_id(dev)); in gen_eth_tnl_hdr()
|
| /linux/drivers/net/ethernet/intel/fm10k/ |
| H A D | fm10k_netdev.c | 550 ntohs(vhdr->h_vlan_TCI)); in fm10k_xmit_frame()
|
| /linux/drivers/infiniband/hw/irdma/ |
| H A D | cm.c | 484 ((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 D | bpf.h | 7366 __be16 h_vlan_TCI; 7338 __be16 h_vlan_TCI; global() member
|
| /linux/tools/include/uapi/linux/ |
| H A D | bpf.h | 7365 __be16 h_vlan_TCI; 7337 __be16 h_vlan_TCI; global() member
|
| /linux/drivers/net/ethernet/toshiba/ |
| H A D | ps3_gelic_net.c | 766 veth->h_vlan_TCI = htons(tag); in gelic_put_vlan_tag()
|