Lines Matching refs:total
334 uint16_t total;
397 total = TAILQ_LAST(&frag->fr_queue, pf_fragq)->fe_off +
401 if (frent->fe_off + frent->fe_len < total && !frent->fe_mff)
406 if (frent->fe_off + frent->fe_len > total ||
407 (frent->fe_off + frent->fe_len == total && frent->fe_mff))
410 if (frent->fe_off + frent->fe_len == total && !frent->fe_mff)
475 uint16_t off, total;
482 total = TAILQ_LAST(&frag->fr_queue, pf_fragq)->fe_off +
491 if (off < total && (next == NULL || next->fe_off != off)) {
492 DPFPRINTF(("missing fragment at %d, next %d, total %d",
493 off, next == NULL ? -1 : next->fe_off, total));
497 DPFPRINTF(("%d < %d?", off, total));
498 if (off < total)
500 KASSERT(off == total, ("off == total"));
544 uint16_t total, hdrlen;
571 total = TAILQ_LAST(&frag->fr_queue, pf_fragq)->fe_off +
587 ip->ip_len = htons(hdrlen + total);
590 if (hdrlen + total > IP_MAXPACKET) {
591 DPFPRINTF(("drop: too big: %d", total));
616 uint16_t total, maxlen;
660 total = TAILQ_LAST(&frag->fr_queue, pf_fragq)->fe_off +
698 ip6->ip6_plen = htons(hdrlen - sizeof(struct ip6_hdr) + total);
709 if (hdrlen - sizeof(struct ip6_hdr) + total > IPV6_MAXPACKET) {
710 DPFPRINTF(("drop: too big: %d", total));
768 * header also for a single fragment. If total or maxlen
1526 * up to 10% fast and will allow a total difference