Home
last modified time | relevance | path

Searched refs:h_vlan_encapsulated_proto (Results 1 – 25 of 36) sorted by relevance

12

/linux/include/linux/
H A Dif_vlan.h37 __be16 h_vlan_encapsulated_proto; member
55 __be16 h_vlan_encapsulated_proto; member
378 veth->h_vlan_encapsulated_proto = skb->protocol; in __vlan_insert_inner_tag()
628 type = vh->h_vlan_encapsulated_proto; in __vlan_get_protocol_offset()
699 proto = vhdr->h_vlan_encapsulated_proto; in vlan_set_encap_proto()
780 protocol = veh->h_vlan_encapsulated_proto; in skb_vlan_tagged_multi()
831 ((__force u32)h1->h_vlan_encapsulated_proto ^ in compare_vlan_header()
832 (__force u32)h2->h_vlan_encapsulated_proto); in compare_vlan_header()
/linux/samples/bpf/
H A Dsockex2_kern.c15 __be16 h_vlan_encapsulated_proto; member
110 h_vlan_encapsulated_proto)); in flow_dissector()
116 h_vlan_encapsulated_proto)); in flow_dissector()
154 h_vlan_encapsulated_proto)); in flow_dissector()
H A Dparse_varlen.c133 h_proto = vhdr->h_vlan_encapsulated_proto; in handle_ingress()
142 h_proto = vhdr->h_vlan_encapsulated_proto; in handle_ingress()
H A Dsockex3_kern.c27 __be16 h_vlan_encapsulated_proto; member
218 h_vlan_encapsulated_proto)); in bpf_func_vlan()
H A Dxdp_router_ipv4.bpf.c101 h_proto = vhdr->h_vlan_encapsulated_proto; in xdp_router_ipv4_prog()
/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_flow.c46 __be16 h_vlan_encapsulated_proto; member
415 if (vlan->h_vlan_encapsulated_proto != bpf_htons(ETH_P_8021Q)) in PROG()
429 if (vlan->h_vlan_encapsulated_proto == bpf_htons(ETH_P_8021AD) || in PROG()
430 vlan->h_vlan_encapsulated_proto == bpf_htons(ETH_P_8021Q)) in PROG()
433 keys->n_proto = vlan->h_vlan_encapsulated_proto; in PROG()
434 return parse_eth_proto(skb, vlan->h_vlan_encapsulated_proto); in PROG()
H A Dtest_xdp_vlan.c36 __be16 h_vlan_encapsulated_proto; member
78 eth_type = vlan_hdr->h_vlan_encapsulated_proto; in parse_eth_frame()
91 eth_type = vlan_hdr->h_vlan_encapsulated_proto; in parse_eth_frame()
/linux/net/netfilter/
H A Dnf_flow_table_inet.c24 proto = veth->h_vlan_encapsulated_proto; in nf_flow_offload_inet_hook()
H A Dnft_payload.c36 veth->h_vlan_encapsulated_proto = skb->protocol; in nft_payload_rebuild_vlan_hdr()
343 case offsetof(struct vlan_ethhdr, h_vlan_encapsulated_proto): in nft_payload_offload_ll()
359 case offsetof(struct vlan_ethhdr, h_vlan_encapsulated_proto) + in nft_payload_offload_ll()
822 if (offset >= offsetof(struct vlan_ethhdr, h_vlan_encapsulated_proto)) { in nft_payload_set_vlan()
H A Dnf_tables_trace.c61 veth.h_vlan_encapsulated_proto = skb->protocol; in nf_trace_fill_ll_header()
H A Dnft_inner.c78 outer_llproto = veth->h_vlan_encapsulated_proto; in nft_inner_parse_l2l3()
H A Dnf_flow_table_ip.c292 if (veth->h_vlan_encapsulated_proto == proto) { in nf_flow_skb_encap_protocol()
/linux/net/bridge/netfilter/
H A Debt_vlan.c48 encap = fp->h_vlan_encapsulated_proto; in ebt_vlan_mt()
/linux/net/8021q/
H A Dvlan_core.c483 type = vhdr->h_vlan_encapsulated_proto; in vlan_gro_receive()
518 __be16 type = vhdr->h_vlan_encapsulated_proto; in vlan_gro_complete()
H A Dvlan_dev.c68 vhdr->h_vlan_encapsulated_proto = htons(type); in vlan_dev_hard_header()
70 vhdr->h_vlan_encapsulated_proto = htons(len); in vlan_dev_hard_header()
/linux/arch/powerpc/platforms/ps3/
H A Dgelic_udbg.c162 h_vlan->h_vlan_encapsulated_proto = ETH_P_IP; in gelic_debug_init()
/linux/drivers/net/ethernet/sfc/
H A Dtx_tso.c152 protocol = veh->h_vlan_encapsulated_proto; in efx_tso_check_protocol()
/linux/drivers/net/usb/
H A Dcdc_mbim.c247 is_ip = is_ip_proto(vlan_eth_hdr(skb)->h_vlan_encapsulated_proto); in cdc_mbim_tx_fixup()
/linux/net/sched/
H A Dact_csum.c608 protocol = vlan->h_vlan_encapsulated_proto; in tcf_csum_act()
/linux/net/hsr/
H A Dhsr_forward.c709 proto = vlan_hdr->vlanhdr.h_vlan_encapsulated_proto; in fill_frame_info()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun.c214 vlan->h_vlan_encapsulated_proto = htons(proto); in gen_eth_tnl_hdr()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tx.c112 unsafe_memcpy(&vhdr->h_vlan_encapsulated_proto, in mlx5e_insert_vlan()
/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_netdev.c551 proto = vhdr->h_vlan_encapsulated_proto; in fm10k_xmit_frame()
/linux/drivers/net/thunderbolt/
H A Dmain.c1027 protocol = vhdr->h_vlan_encapsulated_proto; in tbnet_xmit_csum_and_map()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_txrx.c196 vlan.h_vlan_encapsulated_proto = eth.h_proto; in i40e_create_dummy_packet()
3035 protocol = vhdr->h_vlan_encapsulated_proto; in i40e_tx_prepare_vlan_flags()

12