Home
last modified time | relevance | path

Searched refs:gre_hdr (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/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.c149 struct gre_hdr { in parse_ip_proto() struct
155 nhoff + offsetof(struct gre_hdr, flags)); in parse_ip_proto()
157 nhoff + offsetof(struct gre_hdr, proto)); in parse_ip_proto()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
H A Dtest_tc_tunnel.c35 struct gre_hdr { struct
42 struct gre_hdr gre;
450 struct gre_hdr greh; in decap_internal()
459 olen += sizeof(struct gre_hdr); in decap_internal()
H A Dbpf_flow.c48 struct gre_hdr { struct
156 struct gre_hdr *gre, _gre; in parse_ip_proto()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dtest_tc_tunnel.c54 struct gre_hdr { struct
61 struct gre_hdr gre;
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()
/kernel/linux/linux-5.10/net/xfrm/
H A Dxfrm_policy.c3381 __be32 *gre_hdr; in decode_session4() local
3385 gre_hdr = (__be32 *)xprth; in decode_session4()
3389 gre_hdr++; in decode_session4()
3390 fl4->fl4_gre_key = gre_hdr[1]; in decode_session4()
3478 struct gre_base_hdr *gre_hdr; in decode_session6() local
3482 gre_hdr = (struct gre_base_hdr *)(nh + offset); in decode_session6()
3483 gre_key = (__be32 *)(gre_hdr + 1); in decode_session6()
3485 if (gre_hdr->flags & GRE_KEY) { in decode_session6()
3486 if (gre_hdr->flags & GRE_CSUM) in decode_session6()
/kernel/linux/linux-6.6/net/xfrm/
H A Dxfrm_policy.c3431 __be32 *gre_hdr; in decode_session4() local
3435 gre_hdr = (__be32 *)xprth; in decode_session4()
3439 gre_hdr++; in decode_session4()
3440 fl4->fl4_gre_key = gre_hdr[1]; in decode_session4()
3526 struct gre_base_hdr *gre_hdr; in decode_session6() local
3530 gre_hdr = (struct gre_base_hdr *)(nh + offset); in decode_session6()
3531 gre_key = (__be32 *)(gre_hdr + 1); in decode_session6()
3533 if (gre_hdr->flags & GRE_KEY) { in decode_session6()
3534 if (gre_hdr->flags & GRE_CSUM) in decode_session6()

Completed in 29 milliseconds