Home
last modified time | relevance | path

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

12

/Linux-v5.4/include/linux/
Dif_vlan.h35 __be16 h_vlan_encapsulated_proto; member
51 __be16 h_vlan_encapsulated_proto; member
361 veth->h_vlan_encapsulated_proto = skb->protocol; in __vlan_insert_inner_tag()
605 type = vh->h_vlan_encapsulated_proto; in __vlan_get_protocol()
639 proto = vhdr->h_vlan_encapsulated_proto; in vlan_set_encap_proto()
699 protocol = veh->h_vlan_encapsulated_proto; in skb_vlan_tagged_multi()
748 ((__force u32)h1->h_vlan_encapsulated_proto ^ in compare_vlan_header()
749 (__force u32)h2->h_vlan_encapsulated_proto); in compare_vlan_header()
/Linux-v5.4/samples/bpf/
Dsockex2_kern.c14 __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()
Dxdp1_kern.c67 h_proto = vhdr->h_vlan_encapsulated_proto; in xdp_prog1()
76 h_proto = vhdr->h_vlan_encapsulated_proto; in xdp_prog1()
Dxdp2_kern.c83 h_proto = vhdr->h_vlan_encapsulated_proto; in xdp_prog1()
92 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.c61 __be16 h_vlan_encapsulated_proto; member
247 h_vlan_encapsulated_proto)); in PROG()
Dxdp_redirect_cpu_kern.c108 __be16 h_vlan_encapsulated_proto; member
136 eth_type = vlan_hdr->h_vlan_encapsulated_proto; in parse_eth()
146 eth_type = vlan_hdr->h_vlan_encapsulated_proto; in parse_eth()
Dxdp_router_ipv4_kern.c136 h_proto = vhdr->h_vlan_encapsulated_proto; in xdp_router_ipv4_prog()
/Linux-v5.4/tools/testing/selftests/bpf/progs/
Dbpf_flow.c45 __be16 h_vlan_encapsulated_proto; member
399 if (vlan->h_vlan_encapsulated_proto != bpf_htons(ETH_P_8021Q)) in PROG()
413 if (vlan->h_vlan_encapsulated_proto == bpf_htons(ETH_P_8021AD) || in PROG()
414 vlan->h_vlan_encapsulated_proto == bpf_htons(ETH_P_8021Q)) in PROG()
417 keys->n_proto = vlan->h_vlan_encapsulated_proto; in PROG()
418 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.4/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()
641 vlan_eth.h_vlan_encapsulated_proto = htons(ETH_P_ARP); in gdm_lte_netif_rx()
646 vlan_eth.h_vlan_encapsulated_proto = htons(ETH_P_IP); in gdm_lte_netif_rx()
649 vlan_eth.h_vlan_encapsulated_proto = htons(ETH_P_IPV6); in gdm_lte_netif_rx()
/Linux-v5.4/net/bridge/netfilter/
Debt_vlan.c48 encap = fp->h_vlan_encapsulated_proto; in ebt_vlan_mt()
/Linux-v5.4/net/8021q/
Dvlan_core.c477 type = vhdr->h_vlan_encapsulated_proto; in vlan_gro_receive()
512 __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.4/arch/powerpc/platforms/ps3/
Dgelic_udbg.c161 h_vlan->h_vlan_encapsulated_proto = ETH_P_IP; in gelic_debug_init()
/Linux-v5.4/net/netfilter/
Dnf_tables_trace.c77 veth.h_vlan_encapsulated_proto = skb->protocol; in nf_trace_fill_ll_header()
Dnft_payload.c57 veth.h_vlan_encapsulated_proto = skb->protocol; in nft_payload_copy_vlan()
/Linux-v5.4/net/batman-adv/
Dsoft-interface.c225 proto = vhdr->h_vlan_encapsulated_proto; in batadv_interface_tx()
455 if (vhdr->h_vlan_encapsulated_proto != htons(ETH_P_BATMAN)) in batadv_interface_rx()
Dgateway_client.c648 proto = vhdr->h_vlan_encapsulated_proto; in batadv_gw_dhcp_recipient_get()
/Linux-v5.4/drivers/net/ethernet/sfc/
Dtx_tso.c152 protocol = veh->h_vlan_encapsulated_proto; in efx_tso_check_protocol()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun.c199 vlan->h_vlan_encapsulated_proto = htons(proto); in gen_eth_tnl_hdr()
/Linux-v5.4/drivers/net/usb/
Dcdc_mbim.c245 is_ip = is_ip_proto(vlan_eth_hdr(skb)->h_vlan_encapsulated_proto); in cdc_mbim_tx_fixup()
/Linux-v5.4/net/sched/
Dact_csum.c609 protocol = vlan->h_vlan_encapsulated_proto; in tcf_csum_act()
/Linux-v5.4/drivers/scsi/fnic/
Dfnic_fcs.c1042 vlan_hdr->h_vlan_encapsulated_proto = eth_hdr->h_proto; in fnic_eth_send()
1107 vlan_hdr->h_vlan_encapsulated_proto = htons(ETH_P_FCOE); in fnic_send_frame()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_tx.c146 memcpy(&vhdr->h_vlan_encapsulated_proto, skb->data + cpy1_sz, cpy2_sz); in mlx5e_insert_vlan()

12