Home
last modified time | relevance | path

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

12

/linux/samples/bpf/
H A Dsockex2_kern.c15 __be16 h_vlan_encapsulated_proto; member
109 h_vlan_encapsulated_proto)); in flow_dissector()
115 h_vlan_encapsulated_proto)); in flow_dissector()
153 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 Dtest_xdp_vlan.c32 * @h_vlan_encapsulated_proto: packet type ID or len
36 __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()
200 * Notice: Taking over vlan_hdr->h_vlan_encapsulated_proto, by in xdp_prognum2()
219 * The vlan_hdr->h_vlan_encapsulated_proto take over role as in shift_mac_4bytes_32bit()
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()
/linux/net/netfilter/
H A Dnf_flow_table_inet.c24 proto = veth->h_vlan_encapsulated_proto; in nf_flow_offload_inet_hook()
H A Dnf_tables_trace.c62 veth.h_vlan_encapsulated_proto = skb->protocol; in nf_trace_fill_ll_header()
H A Dnft_inner.c85 outer_llproto = veth->h_vlan_encapsulated_proto; in nft_inner_parse_l2l3()
H A Dnf_flow_table_ip.c165 inner_proto = veth->h_vlan_encapsulated_proto; in nf_flow_tuple_encap()
343 if (veth->h_vlan_encapsulated_proto == proto) { in nf_flow_queue_xmit()
/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.c69 vhdr->h_vlan_encapsulated_proto = htons(type); in vlan_dev_hard_header()
71 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/net/batman-adv/
H A Dgateway_client.c579 proto = vhdr->h_vlan_encapsulated_proto; in batadv_gw_dhcp_recipient_get()
/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.c609 protocol = vlan->h_vlan_encapsulated_proto; in tcf_csum_act()
/linux/net/hsr/
H A Dhsr_forward.c719 proto = vlan_hdr->vlanhdr.h_vlan_encapsulated_proto; in fill_frame_info()
/linux/net/bridge/
H A Dbr_netfilter_hooks.c86 return vlan_eth_hdr(skb)->h_vlan_encapsulated_proto; in vlan_proto()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tx.c113 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.c1026 protocol = vhdr->h_vlan_encapsulated_proto; in tbnet_xmit_csum_and_map()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_txrx.c197 vlan.h_vlan_encapsulated_proto = eth.h_proto; in i40e_create_dummy_packet()
3032 protocol = vhdr->h_vlan_encapsulated_proto; in i40e_tx_prepare_vlan_flags()
/linux/net/core/
H A Dflow_dissector.c1314 proto = vlan->h_vlan_encapsulated_proto; in __skb_flow_dissect()

12