Home
last modified time | relevance | path

Searched refs:next_opt (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/libnsl/nsl/
H A Dt_optmgmt.c71 struct t_opthdr *opt, *next_opt; in _tx_optmgmt() local
165 for (opt = opt_start; opt < opt_end; opt = next_opt) { in _tx_optmgmt()
193 next_opt = (struct t_opthdr *)((uchar_t *)opt + in _tx_optmgmt()
196 if ((uchar_t *)next_opt < (uchar_t *)opt || /* (1) */ in _tx_optmgmt()
197 ((next_opt >= opt_end) && in _tx_optmgmt()
198 (((uchar_t *)next_opt - (uchar_t *)opt_end) >= in _tx_optmgmt()
210 if (next_opt < opt_end) { in _tx_optmgmt()
216 next_opt - (uchar_t *)opt_start); in _tx_optmgmt()
217 opt_end = next_opt; in _tx_optmgmt()
/illumos-gate/usr/src/lib/libwrap/
H A Doptions.c144 char *next_opt; local
148 for (curr_opt = get_field(options); curr_opt; curr_opt = next_opt) {
149 next_opt = get_field((char *) 0);
189 if (next_opt && use_last(op))
/illumos-gate/usr/src/uts/common/inet/
H A Doptcom.c191 struct opthdr *next_opt; in svr4_optcom_req() local
339 for (opt = opt_start; opt < opt_end; opt = next_opt) { in svr4_optcom_req()
359 next_opt = (struct opthdr *)((uchar_t *)&opt[1] + in svr4_optcom_req()
362 if ((uchar_t *)next_opt < (uchar_t *)&opt[1] || in svr4_optcom_req()
363 ((next_opt >= opt_end) && in svr4_optcom_req()
364 (((uchar_t *)next_opt - (uchar_t *)opt_end) >= in svr4_optcom_req()
420 for (opt = opt_start; opt < opt_end; opt = next_opt) { in svr4_optcom_req()
422 next_opt = (struct opthdr *)((uchar_t *)&opt[1] + in svr4_optcom_req()
467 for (opt = opt_start; opt < opt_end; opt = next_opt) { in svr4_optcom_req()
470 next_opt = (struct opthdr *)((uchar_t *)&opt[1] + in svr4_optcom_req()