Lines Matching refs:optlen
85 int optlen; in print_opt() local
90 optlen = opt->nd_opt_len * 8; in print_opt()
91 if (optlen == 0) { in print_opt()
98 if (optlen != sizeof (*po) || in print_opt()
99 optlen > len) in print_opt()
121 if (optlen != sizeof (*mo) || in print_opt()
122 optlen > len) in print_opt()
129 if (optlen < 8 || in print_opt()
130 optlen > len) in print_opt()
134 optlen - sizeof (nd_opt_hdr_t)); in print_opt()
136 optlen - sizeof (nd_opt_hdr_t), in print_opt()
141 if (optlen < 8|| in print_opt()
142 optlen > len) in print_opt()
146 optlen - sizeof (nd_opt_hdr_t)); in print_opt()
148 optlen - sizeof (nd_opt_hdr_t), in print_opt()
159 opt = (struct nd_opt_hdr *)((char *)opt + optlen); in print_opt()
160 len -= optlen; in print_opt()