Lines Matching refs:optlen
77 int optlen; in ip6_sopt_print() local
79 for (i = 0; i < len; i += optlen) { in ip6_sopt_print()
81 optlen = 1; in ip6_sopt_print()
84 optlen = bp[i + 1] + 2; in ip6_sopt_print()
88 if (i + optlen > len) in ip6_sopt_print()
142 int optlen = 0; in ip6_opt_print() local
144 for (i = 0; i < len; i += optlen) { in ip6_opt_print()
146 optlen = 1; in ip6_opt_print()
149 optlen = bp[i + 1] + 2; in ip6_opt_print()
153 if (i + optlen > len) in ip6_opt_print()
201 (optlen - IP6OPT_HOMEADDR_MINLEN)); in ip6_opt_print()
230 (optlen - IP6OPT_BU_MINLEN)); in ip6_opt_print()
253 (optlen - IP6OPT_BA_MINLEN)); in ip6_opt_print()
265 (optlen - IP6OPT_BR_MINLEN)); in ip6_opt_print()