Home
last modified time | relevance | path

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

/Linux-v6.6/samples/bpf/
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()
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()
/Linux-v6.6/tools/testing/selftests/bpf/progs/
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()
Dbpf_flow.c49 struct gre_hdr { struct
170 struct gre_hdr *gre, _gre; in parse_ip_proto()
/Linux-v6.6/net/xfrm/
Dxfrm_policy.c3429 __be32 *gre_hdr; in decode_session4() local
3433 gre_hdr = (__be32 *)xprth; in decode_session4()
3437 gre_hdr++; in decode_session4()
3438 fl4->fl4_gre_key = gre_hdr[1]; in decode_session4()
3524 struct gre_base_hdr *gre_hdr; in decode_session6() local
3528 gre_hdr = (struct gre_base_hdr *)(nh + offset); in decode_session6()
3529 gre_key = (__be32 *)(gre_hdr + 1); in decode_session6()
3531 if (gre_hdr->flags & GRE_KEY) { in decode_session6()
3532 if (gre_hdr->flags & GRE_CSUM) in decode_session6()