Home
last modified time | relevance | path

Searched refs:greh (Results 1 – 3 of 3) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/bpf/progs/
Dtest_lwt_ip_encap.c20 struct grehdr greh; in bpf_lwt_encap_gre() member
41 hdr.greh.protocol = skb->protocol; in bpf_lwt_encap_gre()
56 struct grehdr greh; in bpf_lwt_encap_gre6() member
75 hdr.greh.protocol = skb->protocol; in bpf_lwt_encap_gre6()
Dtest_tc_tunnel.c450 struct gre_hdr greh; in decap_internal() local
460 if (bpf_skb_load_bytes(skb, off + len, &greh, sizeof(greh)) < 0) in decap_internal()
462 switch (bpf_ntohs(greh.protocol)) { in decap_internal()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_flow_dissector.c263 struct grehdr *greh = header; in build_gre_header() local
265 greh->protocol = htons(proto); in build_gre_header()