Home
last modified time | relevance | path

Searched refs:gre_hdr (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/samples/bpf/
H A Dsockex2_kern.c129 struct gre_hdr { in flow_dissector() struct
135 nhoff + offsetof(struct gre_hdr, flags)); in flow_dissector()
137 nhoff + offsetof(struct gre_hdr, proto)); in flow_dissector()
H A Dsockex3_kern.c114 struct gre_hdr { in parse_ip_proto() struct
120 nhoff + offsetof(struct gre_hdr, flags)); in parse_ip_proto()
122 nhoff + offsetof(struct gre_hdr, proto)); in parse_ip_proto()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tc_tunnel.c54 struct gre_hdr { struct
61 struct gre_hdr gre; argument
601 struct gre_hdr greh; in decap_internal()
628 olen += sizeof(struct gre_hdr); in decap_internal()
H A Dbpf_flow.c49 struct gre_hdr { struct
170 struct gre_hdr *gre, _gre; in parse_ip_proto()
/openbmc/linux/net/xfrm/
H A Dxfrm_policy.c3456 __be32 *gre_hdr; in decode_session4() local
3460 gre_hdr = (__be32 *)xprth; in decode_session4()
3464 gre_hdr++; in decode_session4()
3465 fl4->fl4_gre_key = gre_hdr[1]; in decode_session4()
3551 struct gre_base_hdr *gre_hdr; in decode_session6() local
3555 gre_hdr = (struct gre_base_hdr *)(nh + offset); in decode_session6()
3556 gre_key = (__be32 *)(gre_hdr + 1); in decode_session6()
3558 if (gre_hdr->flags & GRE_KEY) { in decode_session6()
3559 if (gre_hdr->flags & GRE_CSUM) in decode_session6()