| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_xdp_vlan.c | 31 * @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 D | bpf_flow.c | 45 __be16 h_vlan_TCI; member
|
| /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/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/net/netfilter/ |
| 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() 546 vhdr->h_vlan_TCI = htons(skb_vlan_tag_get(skb)); in nf_flow_vlan_push()
|
| /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()
|
| /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/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()
|
| H A D | utils.c | 1552 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 D | bpf.h | 7367 __be16 h_vlan_TCI; 7331 __be16 h_vlan_TCI; global() member
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
| H A D | bridge.c | 1030 __be16 h_vlan_TCI; in mlx5_esw_bridge_vlan_push_create() member
|
| /linux/drivers/s390/net/ |
| H A D | qeth_l3_main.c | 1659 hdr->hdr.l3.vlan_id = ntohs(veth->h_vlan_TCI); in qeth_l3_fill_header()
|
| H A D | qeth_l2_main.c | 189 hdr->hdr.l2.vlan_id = ntohs(veth->h_vlan_TCI); in qeth_l2_fill_header()
|
| /linux/drivers/net/ethernet/freescale/ |
| H A D | fec_main.c | 1789 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 D | dpaa2-switch.c | 2491 vid = ntohs(hdr->h_vlan_TCI) & VLAN_VID_MASK; in dpaa2_switch_rx()
|
| /linux/drivers/net/ethernet/qlogic/netxen/ |
| H A D | netxen_nic_main.c | 1931 vh->h_vlan_TCI = htons(vid); in netxen_tso_check()
|