Lines Matching refs:optval
266 int level, optname, optval; in tcp_ctloutput() local
300 error = sockopt_getint(sopt, &optval); in tcp_ctloutput()
303 if (optval > 0) in tcp_ctloutput()
311 error = sockopt_getint(sopt, &optval); in tcp_ctloutput()
314 if (optval) in tcp_ctloutput()
321 error = sockopt_getint(sopt, &optval); in tcp_ctloutput()
324 if (optval > 0 && optval <= tp->t_peermss) in tcp_ctloutput()
325 tp->t_peermss = optval; /* limit on send size */ in tcp_ctloutput()
390 optval = (tp->t_flags & TF_SIGNATURE) ? 1 : 0; in tcp_ctloutput()
394 optval = tp->t_flags & TF_NODELAY; in tcp_ctloutput()
397 optval = tp->t_peermss; in tcp_ctloutput()
408 optval = tp->t_keepidle; in tcp_ctloutput()
411 optval = tp->t_keepintvl; in tcp_ctloutput()
414 optval = tp->t_keepcnt; in tcp_ctloutput()
417 optval = tp->t_keepinit; in tcp_ctloutput()
418 setval: error = sockopt_set(sopt, &optval, sizeof(optval)); in tcp_ctloutput()