q6 181 netinet6/frag6.c struct ip6q *q6; q6 264 netinet6/frag6.c for (q6 = ip6q.ip6q_next; q6 != &ip6q; q6 = q6->ip6q_next) q6 265 netinet6/frag6.c if (ip6f->ip6f_ident == q6->ip6q_ident && q6 266 netinet6/frag6.c IN6_ARE_ADDR_EQUAL(&ip6->ip6_src, &q6->ip6q_src) && q6 267 netinet6/frag6.c IN6_ARE_ADDR_EQUAL(&ip6->ip6_dst, &q6->ip6q_dst)) q6 270 netinet6/frag6.c if (q6 == &ip6q) { q6 288 netinet6/frag6.c q6 = (struct ip6q *)malloc(sizeof(struct ip6q), M_FTABLE, q6 290 netinet6/frag6.c if (q6 == NULL) q6 292 netinet6/frag6.c bzero(q6, sizeof(*q6)); q6 294 netinet6/frag6.c frag6_insque(q6, &ip6q); q6 297 netinet6/frag6.c q6->ip6q_down = q6->ip6q_up = (struct ip6asfrag *)q6; q6 299 netinet6/frag6.c q6->ip6q_nxtp = (u_char *)nxtp; q6 301 netinet6/frag6.c q6->ip6q_ident = ip6f->ip6f_ident; q6 302 netinet6/frag6.c q6->ip6q_arrive = 0; /* Is it used anywhere? */ q6 303 netinet6/frag6.c q6->ip6q_ttl = IPV6_FRAGTTL; q6 304 netinet6/frag6.c q6->ip6q_src = ip6->ip6_src; q6 305 netinet6/frag6.c q6->ip6q_dst = ip6->ip6_dst; q6 306 netinet6/frag6.c q6->ip6q_unfrglen = -1; /* The 1st fragment has not arrived. */ q6 308 netinet6/frag6.c q6->ip6q_nfrag = 0; q6 317 netinet6/frag6.c q6->ip6q_unfrglen = offset - sizeof(struct ip6_hdr) - q6 319 netinet6/frag6.c q6->ip6q_nxt = ip6f->ip6f_nxt; q6 328 netinet6/frag6.c if (q6->ip6q_unfrglen >= 0) { q6 330 netinet6/frag6.c if (q6->ip6q_unfrglen + fragoff + frgpartlen > IPV6_MAXPACKET) { q6 349 netinet6/frag6.c for (af6 = q6->ip6q_down; af6 != (struct ip6asfrag *)q6; q6 353 netinet6/frag6.c if (q6->ip6q_unfrglen + af6->ip6af_off + af6->ip6af_frglen > q6 370 netinet6/frag6.c ip6err->ip6_src = q6->ip6q_src; q6 371 netinet6/frag6.c ip6err->ip6_dst = q6->ip6q_dst; q6 397 netinet6/frag6.c af6 = (struct ip6asfrag *)q6; q6 407 netinet6/frag6.c ecn0 = (ntohl(q6->ip6q_down->ip6af_head) >> 20) & IPTOS_ECN_MASK; q6 414 netinet6/frag6.c q6->ip6q_down->ip6af_head |= htonl(IPTOS_ECN_CE << 20); q6 424 netinet6/frag6.c for (af6 = q6->ip6q_down; af6 != (struct ip6asfrag *)q6; q6 435 netinet6/frag6.c if (af6->ip6af_up != (struct ip6asfrag *)q6) { q6 451 netinet6/frag6.c while (af6 != (struct ip6asfrag *)q6 && q6 472 netinet6/frag6.c if (af6->ip6af_up != (struct ip6asfrag *)q6) { q6 479 netinet6/frag6.c i, ip6_sprintf(&q6->ip6q_src)); q6 485 netinet6/frag6.c if (af6 != (struct ip6asfrag *)q6) { q6 491 netinet6/frag6.c i, ip6_sprintf(&q6->ip6q_src)); q6 509 netinet6/frag6.c q6->ip6q_nfrag++; q6 511 netinet6/frag6.c if (q6 != ip6q.ip6q_next) { q6 512 netinet6/frag6.c frag6_remque(q6); q6 513 netinet6/frag6.c frag6_insque(q6, &ip6q); q6 517 netinet6/frag6.c for (af6 = q6->ip6q_down; af6 != (struct ip6asfrag *)q6; q6 533 netinet6/frag6.c ip6af = q6->ip6q_down; q6 537 netinet6/frag6.c while (af6 != (struct ip6asfrag *)q6) { q6 553 netinet6/frag6.c ip6->ip6_src = q6->ip6q_src; q6 554 netinet6/frag6.c ip6->ip6_dst = q6->ip6q_dst; q6 555 netinet6/frag6.c nxt = q6->ip6q_nxt; q6 557 netinet6/frag6.c *q6->ip6q_nxtp = (u_char)(nxt & 0xff); q6 571 netinet6/frag6.c frag6_remque(q6); q6 572 netinet6/frag6.c frag6_nfrags -= q6->ip6q_nfrag; q6 573 netinet6/frag6.c free(q6, M_FTABLE); q6 589 netinet6/frag6.c frag6_remque(q6); q6 590 netinet6/frag6.c frag6_nfrags -= q6->ip6q_nfrag; q6 591 netinet6/frag6.c free(q6, M_FTABLE); q6 627 netinet6/frag6.c frag6_freef(q6) q6 628 netinet6/frag6.c struct ip6q *q6; q6 634 netinet6/frag6.c for (af6 = q6->ip6q_down; af6 != (struct ip6asfrag *)q6; q6 652 netinet6/frag6.c ip6->ip6_src = q6->ip6q_src; q6 653 netinet6/frag6.c ip6->ip6_dst = q6->ip6q_dst; q6 661 netinet6/frag6.c frag6_remque(q6); q6 662 netinet6/frag6.c frag6_nfrags -= q6->ip6q_nfrag; q6 663 netinet6/frag6.c free(q6, M_FTABLE); q6 730 netinet6/frag6.c struct ip6q *q6; q6 734 netinet6/frag6.c q6 = ip6q.ip6q_next; q6 735 netinet6/frag6.c if (q6) q6 736 netinet6/frag6.c while (q6 != &ip6q) { q6 737 netinet6/frag6.c --q6->ip6q_ttl; q6 738 netinet6/frag6.c q6 = q6->ip6q_next; q6 739 netinet6/frag6.c if (q6->ip6q_prev->ip6q_ttl == 0) { q6 742 netinet6/frag6.c frag6_freef(q6->ip6q_prev);