Lines Matching refs:optval
2952 int error, optval;
3036 error = sooptcopyin(sopt, &optval, sizeof (optval),
3037 sizeof (optval));
3040 if (optval)
3050 error = sooptcopyin(sopt, &optval, sizeof (optval),
3051 sizeof (optval));
3059 if (optval < 1) {
3069 (u_long) optval) == 0) {
3085 (optval > so->so_snd.sb_hiwat) ?
3086 so->so_snd.sb_hiwat : optval;
3090 (optval > so->so_rcv.sb_hiwat) ?
3091 so->so_rcv.sb_hiwat : optval;
3127 error = sooptcopyin(sopt, &optval, sizeof (optval),
3128 sizeof (optval));
3131 if (optval)
3139 error = sooptcopyin(sopt, &optval, sizeof (optval),
3140 sizeof (optval));
3143 if (optval)
3151 error = sooptcopyin(sopt, &optval, sizeof (optval),
3152 sizeof (optval));
3155 if (optval)
3166 error = sooptcopyin(sopt, &optval, sizeof (optval),
3167 sizeof (optval));
3170 if (optval)
3181 error = sooptcopyin(sopt, &optval, sizeof (optval),
3182 sizeof (optval));
3185 so->so_restrictions = (optval & (SO_RESTRICT_DENYIN |
3204 error = sooptcopyin(sopt, &optval, sizeof (optval),
3205 sizeof (optval));
3208 if (optval)
3297 int error, optval;
3371 optval = so->so_options & sopt->sopt_name;
3373 error = sooptcopyout(sopt, &optval, sizeof (optval));
3377 optval = so->so_type;
3394 optval = pkt_total;
3396 optval = so->so_rcv.sb_cc - so->so_rcv.sb_ctl;
3401 optval = so->so_snd.sb_cc;
3405 optval = so->so_error;
3410 optval = so->so_snd.sb_hiwat;
3414 optval = so->so_rcv.sb_hiwat;
3418 optval = so->so_snd.sb_lowat;
3422 optval = so->so_rcv.sb_lowat;
3434 optval = (so->so_flags & SOF_NOSIGPIPE);
3438 optval = (so->so_flags & SOF_NOADDRAVAIL);
3442 optval = (so->so_flags & SOF_REUSESHAREUID);
3447 optval = (so->so_flags & SOF_NOTIFYCONFLICT);
3451 optval = so->so_restrictions & (SO_RESTRICT_DENYIN |
3485 optval = (so->so_flags & SOF_UPCALLCLOSEWAIT);