Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.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-5.10/tools/testing/selftests/bpf/progs/
Dtest_tc_tunnel.c35 struct gre_hdr { struct
42 struct gre_hdr gre; argument
450 struct gre_hdr greh; in decap_internal()
459 olen += sizeof(struct gre_hdr); in decap_internal()
Dbpf_flow.c48 struct gre_hdr { struct
156 struct gre_hdr *gre, _gre; in parse_ip_proto()
/kernel/linux/linux-5.10/net/xfrm/
Dxfrm_policy.c3370 __be32 *gre_hdr; in decode_session4() local
3374 gre_hdr = (__be32 *)xprth; in decode_session4()
3378 gre_hdr++; in decode_session4()
3379 fl4->fl4_gre_key = gre_hdr[1]; in decode_session4()
3467 struct gre_base_hdr *gre_hdr; in decode_session6() local
3471 gre_hdr = (struct gre_base_hdr *)(nh + offset); in decode_session6()
3472 gre_key = (__be32 *)(gre_hdr + 1); in decode_session6()
3474 if (gre_hdr->flags & GRE_KEY) { in decode_session6()
3475 if (gre_hdr->flags & GRE_CSUM) in decode_session6()