Lines Matching defs:totlen
643 int remlen, padding, lastpad, totlen;
659 padding = totlen = lastpad = 0;
673 totlen++;
687 totlen += olen;
692 totlen -= lastpad;
704 if (olen + totlen > IP_MAX_OPT_LENGTH) {
705 totlen -= padding;
706 if (olen + totlen > IP_MAX_OPT_LENGTH)
731 while (totlen > 0) {
734 /* totlen doesn't include end-of-list marker */
745 totlen--;
750 ASSERT(totlen >= 2);
752 ASSERT(olen >= 2 && olen <= totlen);
760 totlen -= olen;