Searched refs:grehdr (Results 1 – 3 of 3) sorted by relevance
8 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
221 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
65 struct grehdr { struct193 struct grehdr *greh = header; in build_gre_header()221 ol4_len = sizeof(struct grehdr); in build_packet()