Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/progs/
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()
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()