Searched refs:guehdr (Results 1 – 8 of 8) sorted by relevance
90 static struct guehdr *gue_remcsum(struct sk_buff *skb, struct guehdr *guehdr, in gue_remcsum() argument105 guehdr = (struct guehdr *)&udp_hdr(skb)[1]; in gue_remcsum()124 struct guehdr *guehdr; in gue_udp_recv() local136 guehdr = (struct guehdr *)&udp_hdr(skb)[1]; in gue_udp_recv()175 guehdr = (struct guehdr *)&udp_hdr(skb)[1]; in gue_udp_recv()300 struct guehdr *guehdr, void *data, in gue_gro_remcsum() argument330 struct guehdr *guehdr; in gue_gro_receive() local469 struct guehdr *guehdr = (struct guehdr *)(skb->data + nhoff); in gue_gro_complete() local963 struct guehdr *guehdr; in __gue_build_header() local990 guehdr = (struct guehdr *)skb->data; in __gue_build_header()[all …]
93 struct guehdr *guehdr; in gue6_err() local97 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 = (struct guehdr *)&udp_hdr(skb)[1]; in gue6_err()137 if (validate_gue_flags(guehdr, optlen)) in gue6_err()144 if (guehdr->proto_ctype == IPPROTO_UDP || in gue6_err()[all …]
36 struct guehdr { struct90 static inline int validate_gue_flags(struct guehdr *guehdr, size_t optlen) in validate_gue_flags() argument92 __be16 flags = guehdr->flags; in validate_gue_flags()106 __be32 pflags = *(__be32 *)((void *)&guehdr[1] + in validate_gue_flags()
29 struct guehdr { struct61 struct guehdr gue;
70 struct guehdr { struct186 struct guehdr *gueh = header; in build_gue_header()223 ol4_len = sizeof(struct udphdr) + sizeof(struct guehdr); in build_packet()287 sizeof(struct guehdr), in build_packet()291 sizeof(struct guehdr) + il3_len + il4_len + in build_packet()
221 (sizeof(struct guehdr) / sizeof(uint32_t)) + hop_count; in encap_init()
376 mtu -= sizeof(struct udphdr) + sizeof(struct guehdr); in __ip_vs_get_out_rt()539 mtu -= sizeof(struct udphdr) + sizeof(struct guehdr); in __ip_vs_get_out_rt_v6()1001 struct guehdr *gueh; /* Our new GUE header */ in ipvs_gue_encap()1012 hdrlen = sizeof(struct guehdr) + optlen; in ipvs_gue_encap()1016 gueh = (struct guehdr *)skb->data; in ipvs_gue_encap()1153 gue_hdrlen = sizeof(struct guehdr) + gue_optlen; in ip_vs_tunnel_xmit()1298 gue_hdrlen = sizeof(struct guehdr) + gue_optlen; in ip_vs_tunnel_xmit_v6()
1519 struct guehdr _gueh, *gueh; in ipvs_udp_decap()1530 return sizeof(struct udphdr) + sizeof(struct guehdr) + in ipvs_udp_decap()