Lines Matching refs:opt_start

195 	struct opthdr *opt_start;
330 if ((opt_start = (struct opthdr *)mi_offset_param(mp,
333 if (!__TPI_OPT_ISALIGNED(opt_start))
336 opt_end = (struct opthdr *)((uchar_t *)opt_start +
339 for (opt = opt_start; opt < opt_end; opt = next_opt) {
420 for (opt = opt_start; opt < opt_end; opt = next_opt) {
467 for (opt = opt_start; opt < opt_end; opt = next_opt) {
639 struct T_opthdr *opt_start, *opt_end;
647 if ((opt_start = (struct T_opthdr *)
651 if (!__TPI_TOPT_ISALIGNED(opt_start))
654 opt_end = (struct T_opthdr *)((uchar_t *)opt_start + tor->OPT_length);
656 for (opt = opt_start; opt && (opt < opt_end);
657 opt = _TPI_TOPT_NEXTHDR(opt_start, tor->OPT_length, opt)) {
662 if (!(_TPI_TOPT_VALID(opt, opt_start, opt_end)))
862 struct T_opthdr *opt_start, *opt_end;
873 opt_start = (struct T_opthdr *)mi_offset_param(reqmp,
875 if (opt_start == NULL)
877 opt_end = (struct T_opthdr *)((uchar_t *)opt_start + tor->OPT_length);
878 ASSERT(__TPI_TOPT_ISALIGNED(opt_start)); /* verified in first pass */
880 for (opt = opt_start; opt && (opt < opt_end);
881 opt = _TPI_TOPT_NEXTHDR(opt_start, tor->OPT_length, opt)) {
884 ASSERT(_TPI_TOPT_VALID(opt, opt_start, opt_end));
1524 struct T_opthdr *opt, *opt_start, *opt_end;
1554 if ((opt_start = (struct T_opthdr *)
1559 if (!__TPI_TOPT_ISALIGNED(opt_start)) {
1564 opt_end = (struct T_opthdr *)((uchar_t *)opt_start
1574 for (opt = opt_start; opt && (opt < opt_end);
1575 opt = _TPI_TOPT_NEXTHDR(opt_start, *opt_lenp, opt)) {
1580 if (!_TPI_TOPT_VALID(opt, opt_start, opt_end)) {
1731 bcopy(init_optr, opt_start, *opt_lenp);