Lines Matching defs:ip6af
145 struct ip6asfrag *af6, *ip6af, *af6dwn;
347 ip6af = (struct ip6asfrag *)_MALLOC(sizeof(struct ip6asfrag), M_FTABLE,
349 if (ip6af == NULL)
351 bzero(ip6af, sizeof(*ip6af));
352 ip6af->ip6af_head = ip6->ip6_flow;
353 ip6af->ip6af_len = ip6->ip6_plen;
354 ip6af->ip6af_nxt = ip6->ip6_nxt;
355 ip6af->ip6af_hlim = ip6->ip6_hlim;
356 ip6af->ip6af_mff = ip6f->ip6f_offlg & IP6F_MORE_FRAG;
357 ip6af->ip6af_off = fragoff;
358 ip6af->ip6af_frglen = frgpartlen;
359 ip6af->ip6af_offset = offset;
360 IP6_REASS_MBUF(ip6af) = m;
372 if (af6->ip6af_off > ip6af->ip6af_off)
383 - ip6af->ip6af_off;
385 if (i >= ip6af->ip6af_frglen)
387 m_adj(IP6_REASS_MBUF(ip6af), i);
388 ip6af->ip6af_off += i;
389 ip6af->ip6af_frglen -= i;
398 ip6af->ip6af_off + ip6af->ip6af_frglen > af6->ip6af_off) {
399 i = (ip6af->ip6af_off + ip6af->ip6af_frglen) - af6->ip6af_off;
418 - ip6af->ip6af_off;
425 FREE(ip6af, M_FTABLE);
430 i = (ip6af->ip6af_off + ip6af->ip6af_frglen) - af6->ip6af_off;
437 FREE(ip6af, M_FTABLE);
451 frag6_enq(ip6af, af6->ip6af_up);
477 ip6af = q6->ip6q_down;
478 t = m = IP6_REASS_MBUF(ip6af);
479 af6 = ip6af->ip6af_down;
480 frag6_deq(ip6af);
493 offset = ip6af->ip6af_offset - sizeof(struct ip6_frag);
494 FREE(ip6af, M_FTABLE);