Lines Matching defs:optval
1307 int error, opt, optval;
1348 error = sooptcopyin(sopt, &optval, sizeof optval,
1349 sizeof optval);
1354 if (optval > 0)
1364 error = sooptcopyin(sopt, &optval, sizeof optval,
1365 sizeof optval);
1382 if (optval)
1398 error = sooptcopyin(sopt, &optval, sizeof optval,
1399 sizeof optval);
1404 if (optval)
1415 error = sooptcopyin(sopt, &optval, sizeof optval,
1416 sizeof optval);
1421 if (optval > 0 && optval <= tp->t_maxseg &&
1422 optval + 40 >= V_tcp_minmss)
1423 tp->t_maxseg = optval;
1551 optval = (tp->t_flags & TF_SIGNATURE) ? 1 : 0;
1553 error = sooptcopyout(sopt, &optval, sizeof optval);
1558 optval = tp->t_flags & TF_NODELAY;
1560 error = sooptcopyout(sopt, &optval, sizeof optval);
1563 optval = tp->t_maxseg;
1565 error = sooptcopyout(sopt, &optval, sizeof optval);
1568 optval = tp->t_flags & TF_NOOPT;
1570 error = sooptcopyout(sopt, &optval, sizeof optval);
1573 optval = tp->t_flags & TF_NOPUSH;
1575 error = sooptcopyout(sopt, &optval, sizeof optval);