Home
last modified time | relevance | path

Searched refs:fraghdr (Results 1 – 3 of 3) sorted by relevance

/external/ipsec-tools/src/racoon/
Disakmp_frag.c87 struct isakmp_frag *fraghdr; local
111 (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 …]
/external/linux-kselftest/tools/testing/selftests/net/
Dip_defrag.c158 struct ip6_frag *fraghdr = (struct ip6_frag *)(ip_frame + IP6_HLEN); in send_fragment() local
162 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() local
228 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() local
307 fraghdr->ip6f_offlg = htons(offset / 8 | IP6_MF); in send_udp_frags()
/external/android-clat/
Dtranslate.c498 char fraghdr[sizeof(struct ip6_frag)]; in translate_packet() local
508 { fraghdr, 0 }, // Fragment header. in translate_packet()