Lines Matching refs:gre
170 struct gre_hdr *gre, _gre;
194 gre = bpf_flow_dissect_get_header(skb, sizeof(*gre), &_gre);
195 if (!gre)
198 if (bpf_htons(gre->flags & GRE_VERSION))
202 keys->thoff += sizeof(*gre); /* Step over GRE Flags and Proto */
203 if (GRE_IS_CSUM(gre->flags))
205 if (GRE_IS_KEY(gre->flags))
207 if (GRE_IS_SEQ(gre->flags))
214 if (gre->proto == bpf_htons(ETH_P_TEB)) {
224 return parse_eth_proto(skb, gre->proto);