Lines Matching refs:optval
1102 int error, opt, optval;
1131 error = sooptcopyin(sopt, &optval, sizeof optval,
1132 sizeof optval);
1151 if (optval)
1158 error = sooptcopyin(sopt, &optval, sizeof optval,
1159 sizeof optval);
1163 if (optval > 0 && optval <= tp->t_maxseg &&
1164 optval + 40 >= tcp_minmss)
1165 tp->t_maxseg = optval;
1171 error = sooptcopyin(sopt, &optval, sizeof optval,
1172 sizeof optval);
1175 if (optval < 0)
1178 tp->t_keepidle = optval * TCP_RETRANSHZ;
1192 optval = tp->t_flags & TF_NODELAY;
1195 optval = tp->t_maxseg;
1198 optval = tp->t_keepidle / TCP_RETRANSHZ;
1201 optval = tp->t_flags & TF_NOOPT;
1204 optval = tp->t_flags & TF_NOPUSH;
1211 error = sooptcopyout(sopt, &optval, sizeof optval);