Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A Dtest_lwt_ip_encap.c8 struct grehdr {
18 struct grehdr greh; in bpf_lwt_encap_gre()
54 struct grehdr greh; in bpf_lwt_encap_gre6()
61 hdr.ip6hdr.payload_len = bpf_htons(skb->len + sizeof(struct grehdr)); in bpf_lwt_encap_gre6()
10 struct grehdr { global() struct
20 protocolgrehdr bpf_lwt_encap_gre() argument
/linux/net/netfilter/
H A Dnf_conntrack_proto_gre.c221 const struct gre_base_hdr *grehdr; in gre_pkt_to_tuple()
225 grehdr = skb_header_pointer(skb, dataoff, sizeof(_grehdr), &_grehdr); in gre_pkt_to_tuple()
226 if (!grehdr || (grehdr->flags & GRE_VERSION) != GRE_VERSION_1) { in gre_pkt_to_tuple()
238 if (grehdr->protocol != GRE_PROTO_PPP) { in gre_pkt_to_tuple()
239 pr_debug("Unsupported GRE proto(0x%x)\n", ntohs(grehdr->protocol)); in gre_pkt_to_tuple()
215 const struct gre_base_hdr *grehdr; gre_pkt_to_tuple() local
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dflow_dissector_classification.c65 struct grehdr { struct
193 struct grehdr *greh = header; in build_gre_header()
221 ol4_len = sizeof(struct grehdr); in build_packet()