Searched refs:fraghdr (Results 1 – 3 of 3) sorted by relevance
87 struct isakmp_frag *fraghdr; local111 (sizeof(*hdr) + sizeof(*fraghdr) + sizeof(trailer));125 + sizeof(*fraghdr) 138 fraghdr = (struct isakmp_frag *)(hdr + 1);139 fraghdr->unknown0 = htons(0);140 fraghdr->len = htons(fraglen - sizeof(*hdr));141 fraghdr->unknown1 = htons(1);142 fraghdr->index = fragnum;144 fraghdr->flags = ISAKMP_FRAG_LAST;146 fraghdr->flags = 0;[all …]
158 struct ip6_frag *fraghdr = (struct ip6_frag *)(ip_frame + IP6_HLEN); in send_fragment() local162 fraghdr->ip6f_offlg = htons(offset); in send_fragment()165 fraghdr->ip6f_offlg = htons(offset | IP6_MF); in send_fragment()220 struct ip6_frag *fraghdr = (struct ip6_frag *)(ip_frame + IP6_HLEN); in send_udp_frags() local228 fraghdr->ip6f_nxt = IPPROTO_UDP; in send_udp_frags()229 fraghdr->ip6f_reserved = 0; in send_udp_frags()230 fraghdr->ip6f_ident = htonl(ip_id++); in send_udp_frags()303 struct ip6_frag *fraghdr = (struct ip6_frag *)(ip_frame + IP6_HLEN); in send_udp_frags() local307 fraghdr->ip6f_offlg = htons(offset / 8 | IP6_MF); in send_udp_frags()
498 char fraghdr[sizeof(struct ip6_frag)]; in translate_packet() local508 { fraghdr, 0 }, // Fragment header. in translate_packet()