Home
last modified time | relevance | path

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

/linux-6.3-rc2/samples/bpf/
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()
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()
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
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()
A Dbpf_flow.c49 struct gre_hdr { struct
170 struct gre_hdr *gre, _gre; in parse_ip_proto()
/linux-6.3-rc2/net/xfrm/
A Dxfrm_policy.c3414 __be32 *gre_hdr; in decode_session4() local
3418 gre_hdr = (__be32 *)xprth; in decode_session4()
3422 gre_hdr++; in decode_session4()
3423 fl4->fl4_gre_key = gre_hdr[1]; in decode_session4()
3509 struct gre_base_hdr *gre_hdr; in decode_session6() local
3513 gre_hdr = (struct gre_base_hdr *)(nh + offset); in decode_session6()
3514 gre_key = (__be32 *)(gre_hdr + 1); in decode_session6()
3516 if (gre_hdr->flags & GRE_KEY) { in decode_session6()
3517 if (gre_hdr->flags & GRE_CSUM) in decode_session6()

Completed in 15 milliseconds