Home
last modified time | relevance | path

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

12

/Linux-v5.15/include/linux/
Dif_vlan.h37 __be16 h_vlan_encapsulated_proto; member
53 __be16 h_vlan_encapsulated_proto; member
363 veth->h_vlan_encapsulated_proto = skb->protocol; in __vlan_insert_inner_tag()
606 type = vh->h_vlan_encapsulated_proto; in __vlan_get_protocol()
654 proto = vhdr->h_vlan_encapsulated_proto; in vlan_set_encap_proto()
714 protocol = veh->h_vlan_encapsulated_proto; in skb_vlan_tagged_multi()
763 ((__force u32)h1->h_vlan_encapsulated_proto ^ in compare_vlan_header()
764 (__force u32)h2->h_vlan_encapsulated_proto); in compare_vlan_header()
/Linux-v5.15/samples/bpf/
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()
Dxdp1_kern.c68 h_proto = vhdr->h_vlan_encapsulated_proto; in xdp_prog1()
78 h_proto = vhdr->h_vlan_encapsulated_proto; in xdp_prog1()
Dxdp2_kern.c84 h_proto = vhdr->h_vlan_encapsulated_proto; in xdp_prog1()
94 h_proto = vhdr->h_vlan_encapsulated_proto; in xdp_prog1()
Dparse_varlen.c133 h_proto = vhdr->h_vlan_encapsulated_proto; in handle_ingress()
142 h_proto = vhdr->h_vlan_encapsulated_proto; in handle_ingress()
Dsockex3_kern.c64 __be16 h_vlan_encapsulated_proto; member
250 h_vlan_encapsulated_proto)); in PROG()
Dxdp_router_ipv4_kern.c136 h_proto = vhdr->h_vlan_encapsulated_proto; in xdp_router_ipv4_prog()
Dxdp_redirect_cpu.bpf.c77 eth_type = vlan_hdr->h_vlan_encapsulated_proto; in parse_eth()
88 eth_type = vlan_hdr->h_vlan_encapsulated_proto; in parse_eth()
/Linux-v5.15/tools/testing/selftests/bpf/progs/
Dbpf_flow.c45 __be16 h_vlan_encapsulated_proto; member
401 if (vlan->h_vlan_encapsulated_proto != bpf_htons(ETH_P_8021Q)) in PROG()
415 if (vlan->h_vlan_encapsulated_proto == bpf_htons(ETH_P_8021AD) || in PROG()
416 vlan->h_vlan_encapsulated_proto == bpf_htons(ETH_P_8021Q)) in PROG()
419 keys->n_proto = vlan->h_vlan_encapsulated_proto; in PROG()
420 return parse_eth_proto(skb, vlan->h_vlan_encapsulated_proto); in PROG()
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-v5.15/drivers/staging/gdm724x/
Dgdm_lte.c240 if (ntohs(vlan_eth.h_vlan_encapsulated_proto) != ETH_P_IPV6) in gdm_lte_emulate_ndp()
353 mac_proto = ntohs(vlan_eth->h_vlan_encapsulated_proto); in gdm_lte_tx_nic_type()
643 vlan_eth.h_vlan_encapsulated_proto = htons(ETH_P_ARP); in gdm_lte_netif_rx()
648 vlan_eth.h_vlan_encapsulated_proto = htons(ETH_P_IP); in gdm_lte_netif_rx()
651 vlan_eth.h_vlan_encapsulated_proto = htons(ETH_P_IPV6); in gdm_lte_netif_rx()
/Linux-v5.15/net/bridge/netfilter/
Debt_vlan.c48 encap = fp->h_vlan_encapsulated_proto; in ebt_vlan_mt()
/Linux-v5.15/net/netfilter/
Dnft_payload.c35 veth->h_vlan_encapsulated_proto = skb->protocol; in nft_payload_rebuild_vlan_hdr()
233 case offsetof(struct vlan_ethhdr, h_vlan_encapsulated_proto): in nft_payload_offload_ll()
249 case offsetof(struct vlan_ethhdr, h_vlan_encapsulated_proto) + in nft_payload_offload_ll()
Dnf_tables_trace.c77 veth.h_vlan_encapsulated_proto = skb->protocol; in nf_trace_fill_ll_header()
Dnf_flow_table_ip.c266 if (veth->h_vlan_encapsulated_proto == proto) { in nf_flow_skb_encap_protocol()
/Linux-v5.15/net/8021q/
Dvlan_core.c477 type = vhdr->h_vlan_encapsulated_proto; in vlan_gro_receive()
515 __be16 type = vhdr->h_vlan_encapsulated_proto; in vlan_gro_complete()
Dvlan_dev.c67 vhdr->h_vlan_encapsulated_proto = htons(type); in vlan_dev_hard_header()
69 vhdr->h_vlan_encapsulated_proto = htons(len); in vlan_dev_hard_header()
/Linux-v5.15/arch/powerpc/platforms/ps3/
Dgelic_udbg.c161 h_vlan->h_vlan_encapsulated_proto = ETH_P_IP; in gelic_debug_init()
/Linux-v5.15/net/batman-adv/
Dsoft-interface.c223 proto = vhdr->h_vlan_encapsulated_proto; in batadv_interface_tx()
444 if (vhdr->h_vlan_encapsulated_proto != htons(ETH_P_BATMAN)) in batadv_interface_rx()
Dgateway_client.c588 proto = vhdr->h_vlan_encapsulated_proto; in batadv_gw_dhcp_recipient_get()
/Linux-v5.15/drivers/net/ethernet/sfc/
Dtx_tso.c152 protocol = veh->h_vlan_encapsulated_proto; in efx_tso_check_protocol()
/Linux-v5.15/net/hsr/
Dhsr_forward.c553 proto = vlan_hdr->vlanhdr.h_vlan_encapsulated_proto; in fill_frame_info()
/Linux-v5.15/drivers/net/usb/
Dcdc_mbim.c246 is_ip = is_ip_proto(vlan_eth_hdr(skb)->h_vlan_encapsulated_proto); in cdc_mbim_tx_fixup()
/Linux-v5.15/drivers/scsi/fnic/
Dfnic_fcs.c1035 vlan_hdr->h_vlan_encapsulated_proto = eth_hdr->h_proto; in fnic_eth_send()
1100 vlan_hdr->h_vlan_encapsulated_proto = htons(ETH_P_FCOE); in fnic_send_frame()
/Linux-v5.15/net/sched/
Dact_csum.c608 protocol = vlan->h_vlan_encapsulated_proto; in tcf_csum_act()

12