Home | History | Annotate | Download | only in net

Lines Matching refs:ipv6

32 /* IPv6 fragment header lenth. */
41 #define IP6_MF (1) /* IPv6 MF flag. */
133 int offset, bool ipv6)
138 uint8_t *frag_start = ipv6 ? ip_frame + IP6_HLEN + FRAG_HLEN :
147 if (ipv6)
154 if (ipv6) {
202 socklen_t alen, bool ipv6)
217 if (ipv6) {
245 send_fragment(fd_raw, addr, alen, offset, ipv6);
253 if (ipv6) {
256 /* In IPv6 if !!(frag_len % 8), the fragment is dropped. */
277 send_fragment(fd_raw, addr, alen, offset, ipv6);
282 static void run_test(struct sockaddr *addr, socklen_t alen, bool ipv6)
287 int min_frag_len = ipv6 ? 1280 : 8;
313 send_udp_frags(fd_tx_raw, addr, alen, ipv6);
341 run_test((void *)&addr, sizeof(addr), false /* !ipv6 */);
352 run_test((void *)&addr, sizeof(addr), true /* ipv6 */);