Home | History | Annotate | Download | only in netinet

Lines Matching defs:optval

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