/kernel/linux/linux-5.10/net/ipv4/ |
H A D | fou.c | 88 static struct guehdr *gue_remcsum(struct sk_buff *skb, struct guehdr *guehdr, in gue_remcsum() argument 99 return guehdr; in gue_remcsum() 103 guehdr = (struct guehdr *)&udp_hdr(skb)[1]; in gue_remcsum() 105 skb_remcsum_process(skb, (void *)guehdr + hdrlen, in gue_remcsum() 108 return guehdr; in gue_remcsum() 111 static int gue_control_message(struct sk_buff *skb, struct guehdr *guehdr) in gue_control_message() argument 122 struct guehdr *guehdr; gue_udp_recv() local 287 gue_gro_remcsum(struct sk_buff *skb, unsigned int off, struct guehdr *guehdr, void *data, size_t hdrlen, struct gro_remcsum *grc, bool nopartial) gue_gro_remcsum() argument 318 struct guehdr *guehdr; gue_gro_receive() local 461 struct guehdr *guehdr = (struct guehdr *)(skb->data + nhoff); gue_gro_complete() local 990 struct guehdr *guehdr; __gue_build_header() local 1130 struct guehdr *guehdr; gue_err() local [all...] |
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | fou_core.c | 90 static struct guehdr *gue_remcsum(struct sk_buff *skb, struct guehdr *guehdr, in gue_remcsum() argument 101 return guehdr; in gue_remcsum() 105 guehdr = (struct guehdr *)&udp_hdr(skb)[1]; in gue_remcsum() 107 skb_remcsum_process(skb, (void *)guehdr + hdrlen, in gue_remcsum() 110 return guehdr; in gue_remcsum() 113 static int gue_control_message(struct sk_buff *skb, struct guehdr *guehdr) in gue_control_message() argument 124 struct guehdr *guehdr; gue_udp_recv() local 283 gue_gro_remcsum(struct sk_buff *skb, unsigned int off, struct guehdr *guehdr, void *data, size_t hdrlen, struct gro_remcsum *grc, bool nopartial) gue_gro_remcsum() argument 314 struct guehdr *guehdr; gue_gro_receive() local 450 struct guehdr *guehdr = (struct guehdr *)(skb->data + nhoff); gue_gro_complete() local 944 struct guehdr *guehdr; __gue_build_header() local 1084 struct guehdr *guehdr; gue_err() local [all...] |
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | fou6.c | 93 struct guehdr *guehdr; in gue6_err() local 97 len = sizeof(struct udphdr) + sizeof(struct guehdr); in gue6_err() 101 guehdr = (struct guehdr *)&udp_hdr(skb)[1]; in gue6_err() 103 switch (guehdr->version) { in gue6_err() 110 switch (((struct iphdr *)guehdr)->version) { in gue6_err() 128 if (guehdr->control) in gue6_err() 131 optlen = guehdr->hlen << 2; in gue6_err() 136 guehdr in gue6_err() [all...] |
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | fou6.c | 93 struct guehdr *guehdr; in gue6_err() local 97 len = sizeof(struct udphdr) + sizeof(struct guehdr); in gue6_err() 101 guehdr = (struct guehdr *)&udp_hdr(skb)[1]; in gue6_err() 103 switch (guehdr->version) { in gue6_err() 110 switch (((struct iphdr *)guehdr)->version) { in gue6_err() 128 if (guehdr->control) in gue6_err() 131 optlen = guehdr->hlen << 2; in gue6_err() 136 guehdr in gue6_err() [all...] |
/kernel/linux/linux-5.10/include/net/ |
H A D | gue.h | 33 struct guehdr { struct 87 static inline int validate_gue_flags(struct guehdr *guehdr, size_t optlen) in validate_gue_flags() argument 89 __be16 flags = guehdr->flags; in validate_gue_flags() 103 __be32 pflags = *(__be32 *)((void *)&guehdr[1] + in validate_gue_flags()
|
/kernel/linux/linux-6.6/include/net/ |
H A D | gue.h | 36 struct guehdr { struct 90 static inline int validate_gue_flags(struct guehdr *guehdr, size_t optlen) in validate_gue_flags() argument 92 __be16 flags = guehdr->flags; in validate_gue_flags() 106 __be32 pflags = *(__be32 *)((void *)&guehdr[1] + in validate_gue_flags()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A D | test_cls_redirect.h | 29 struct guehdr { struct 61 struct guehdr gue;
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | test_cls_redirect.h | 29 struct guehdr { struct 61 struct guehdr gue;
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
H A D | test_flow_dissector.c | 44 struct guehdr { struct 256 struct guehdr *gueh = header; in build_gue_header() 291 ol4_len = sizeof(struct udphdr) + sizeof(struct guehdr); in build_packet() 354 sizeof(struct guehdr), in build_packet() 358 sizeof(struct guehdr) + il3_len + il4_len + in build_packet()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | test_flow_dissector.c | 44 struct guehdr { struct 256 struct guehdr *gueh = header; in build_gue_header() 291 ol4_len = sizeof(struct udphdr) + sizeof(struct guehdr); in build_packet() 354 sizeof(struct guehdr), in build_packet() 358 sizeof(struct guehdr) + il3_len + il4_len + in build_packet()
|
/kernel/linux/linux-5.10/net/netfilter/ipvs/ |
H A D | ip_vs_xmit.c | 387 mtu -= sizeof(struct udphdr) + sizeof(struct guehdr); in __ip_vs_get_out_rt() 550 mtu -= sizeof(struct udphdr) + sizeof(struct guehdr); in __ip_vs_get_out_rt_v6() 1028 struct guehdr *gueh; /* Our new GUE header */ in ipvs_gue_encap() 1039 hdrlen = sizeof(struct guehdr) + optlen; in ipvs_gue_encap() 1043 gueh = (struct guehdr *)skb->data; in ipvs_gue_encap() 1182 gue_hdrlen = sizeof(struct guehdr) + gue_optlen; in ip_vs_tunnel_xmit() 1333 gue_hdrlen = sizeof(struct guehdr) + gue_optlen; in ip_vs_tunnel_xmit_v6()
|
H A D | ip_vs_core.c | 1584 struct guehdr _gueh, *gueh; in ipvs_udp_decap() 1595 return sizeof(struct udphdr) + sizeof(struct guehdr) + in ipvs_udp_decap()
|
/kernel/linux/linux-6.6/net/netfilter/ipvs/ |
H A D | ip_vs_xmit.c | 387 mtu -= sizeof(struct udphdr) + sizeof(struct guehdr); in __ip_vs_get_out_rt() 550 mtu -= sizeof(struct udphdr) + sizeof(struct guehdr); in __ip_vs_get_out_rt_v6() 1012 struct guehdr *gueh; /* Our new GUE header */ in ipvs_gue_encap() 1023 hdrlen = sizeof(struct guehdr) + optlen; in ipvs_gue_encap() 1027 gueh = (struct guehdr *)skb->data; in ipvs_gue_encap() 1164 gue_hdrlen = sizeof(struct guehdr) + gue_optlen; in ip_vs_tunnel_xmit() 1309 gue_hdrlen = sizeof(struct guehdr) + gue_optlen; in ip_vs_tunnel_xmit_v6()
|
H A D | ip_vs_core.c | 1519 struct guehdr _gueh, *gueh; in ipvs_udp_decap() 1530 return sizeof(struct udphdr) + sizeof(struct guehdr) + in ipvs_udp_decap()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
H A D | cls_redirect.c | 252 (sizeof(struct guehdr) / sizeof(uint32_t)) + hop_count; in encap_init()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | cls_redirect.c | 253 (sizeof(struct guehdr) / sizeof(uint32_t)) + hop_count; in encap_init()
|