Searched refs:h_vlan_encapsulated_proto (Results 1 - 25 of 44) sorted by relevance

12

/linux-master/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 in struct:_vlan_hdr
78 eth_type = vlan_hdr->h_vlan_encapsulated_proto;
91 eth_type = vlan_hdr->h_vlan_encapsulated_proto;
200 * Notice: Taking over vlan_hdr->h_vlan_encapsulated_proto, by
219 * The vlan_hdr->h_vlan_encapsulated_proto take over role as
H A Dbpf_flow.c46 __be16 h_vlan_encapsulated_proto; member in struct:vlan_hdr
415 if (vlan->h_vlan_encapsulated_proto != bpf_htons(ETH_P_8021Q))
429 if (vlan->h_vlan_encapsulated_proto == bpf_htons(ETH_P_8021AD) ||
430 vlan->h_vlan_encapsulated_proto == bpf_htons(ETH_P_8021Q))
433 keys->n_proto = vlan->h_vlan_encapsulated_proto;
434 return parse_eth_proto(skb, vlan->h_vlan_encapsulated_proto);
/linux-master/include/linux/
H A Dif_vlan.h33 * @h_vlan_encapsulated_proto: packet type ID or len
37 __be16 h_vlan_encapsulated_proto; member in struct:vlan_hdr
46 * @h_vlan_encapsulated_proto: packet type ID or len
55 __be16 h_vlan_encapsulated_proto; member in struct:vlan_ethhdr
369 /* h_vlan_encapsulated_proto should already be populated, and
374 /* h_vlan_encapsulated_proto should not be populated, and
377 veth->h_vlan_encapsulated_proto = skb->protocol;
617 type = vh->h_vlan_encapsulated_proto;
682 proto = vhdr->h_vlan_encapsulated_proto;
763 protocol = veh->h_vlan_encapsulated_proto;
[all...]
/linux-master/samples/bpf/
H A Dsockex2_kern.c15 __be16 h_vlan_encapsulated_proto; member in struct:vlan_hdr
110 h_vlan_encapsulated_proto));
116 h_vlan_encapsulated_proto));
154 h_vlan_encapsulated_proto));
H A Dparse_varlen.c133 h_proto = vhdr->h_vlan_encapsulated_proto;
142 h_proto = vhdr->h_vlan_encapsulated_proto;
H A Dsockex3_kern.c27 __be16 h_vlan_encapsulated_proto; member in struct:vlan_hdr
218 h_vlan_encapsulated_proto));
H A Dxdp_router_ipv4.bpf.c101 h_proto = vhdr->h_vlan_encapsulated_proto;
/linux-master/net/bridge/netfilter/
H A Debt_vlan.c48 encap = fp->h_vlan_encapsulated_proto;
/linux-master/net/netfilter/
H A Dnf_flow_table_inet.c21 proto = veth->h_vlan_encapsulated_proto;
H A Dnft_inner.c78 outer_llproto = veth->h_vlan_encapsulated_proto;
H A Dnf_tables_trace.c61 veth.h_vlan_encapsulated_proto = skb->protocol;
H A Dnft_payload.c36 veth->h_vlan_encapsulated_proto = skb->protocol;
352 case offsetof(struct vlan_ethhdr, h_vlan_encapsulated_proto):
368 case offsetof(struct vlan_ethhdr, h_vlan_encapsulated_proto) +
/linux-master/drivers/staging/gdm724x/
H A Dgdm_lte.c240 if (ntohs(vlan_eth.h_vlan_encapsulated_proto) != ETH_P_IPV6)
353 mac_proto = ntohs(vlan_eth->h_vlan_encapsulated_proto);
643 vlan_eth.h_vlan_encapsulated_proto = htons(ETH_P_ARP);
648 vlan_eth.h_vlan_encapsulated_proto = htons(ETH_P_IP);
651 vlan_eth.h_vlan_encapsulated_proto = htons(ETH_P_IPV6);
/linux-master/net/8021q/
H A Dvlan_core.c481 type = vhdr->h_vlan_encapsulated_proto;
516 __be16 type = vhdr->h_vlan_encapsulated_proto;
H A Dvlan_dev.c68 vhdr->h_vlan_encapsulated_proto = htons(type);
70 vhdr->h_vlan_encapsulated_proto = htons(len);
/linux-master/arch/powerpc/platforms/ps3/
H A Dgelic_udbg.c162 h_vlan->h_vlan_encapsulated_proto = ETH_P_IP;
/linux-master/drivers/net/ethernet/sfc/
H A Dtx_tso.c152 protocol = veh->h_vlan_encapsulated_proto;
/linux-master/net/batman-adv/
H A Dsoft-interface.c225 proto = vhdr->h_vlan_encapsulated_proto;
451 if (vhdr->h_vlan_encapsulated_proto != htons(ETH_P_BATMAN))
H A Dgateway_client.c589 proto = vhdr->h_vlan_encapsulated_proto;
/linux-master/net/hsr/
H A Dhsr_forward.c592 proto = vlan_hdr->vlanhdr.h_vlan_encapsulated_proto;
/linux-master/drivers/net/usb/
H A Dcdc_mbim.c247 is_ip = is_ip_proto(vlan_eth_hdr(skb)->h_vlan_encapsulated_proto);
/linux-master/net/sched/
H A Dact_csum.c608 protocol = vlan->h_vlan_encapsulated_proto;
/linux-master/drivers/scsi/fnic/
H A Dfnic_fcs.c1031 vlan_hdr->h_vlan_encapsulated_proto = eth_hdr->h_proto;
1096 vlan_hdr->h_vlan_encapsulated_proto = htons(ETH_P_FCOE);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun.c214 vlan->h_vlan_encapsulated_proto = htons(proto);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tx.c112 unsafe_memcpy(&vhdr->h_vlan_encapsulated_proto,

Completed in 227 milliseconds

12