Lines Matching defs:optval
1943 int error, optval;
1945 error = optval = 0;
1988 error = sooptcopyin(sopt, &optval, sizeof optval,
1989 sizeof optval);
1995 inp->inp_ip_tos = optval;
1999 inp->inp_ip_ttl = optval;
2002 if (optval) \
2109 error = sooptcopyin(sopt, &optval, sizeof optval,
2110 sizeof optval);
2114 switch (optval) {
2208 error = sooptcopyin(sopt, &optval, sizeof (optval),
2209 sizeof (optval));
2214 ip_bindif(inp, optval);
2250 optval = inp->inp_ip_tos;
2254 optval = inp->inp_ip_ttl;
2260 optval = OPTBIT(INP_RECVOPTS);
2264 optval = OPTBIT(INP_RECVRETOPTS);
2268 optval = OPTBIT(INP_RECVDSTADDR);
2272 optval = OPTBIT(INP_RECVIF);
2276 optval = OPTBIT(INP_RECVTTL);
2281 optval = IP_PORTRANGE_HIGH;
2283 optval = IP_PORTRANGE_LOW;
2285 optval = 0;
2290 optval = OPTBIT(INP_FAITH);
2294 error = sooptcopyout(sopt, &optval, sizeof optval);
2337 optval = inp->inp_boundif;
2338 error = sooptcopyout(sopt, &optval, sizeof (optval));
2843 int error, optval;
2851 optval = imo->imo_multicast_vif;
2853 optval = -1;
2854 error = sooptcopyout(sopt, &optval, sizeof optval);
2874 optval = coptval = IP_DEFAULT_MULTICAST_TTL;
2876 optval = coptval = imo->imo_multicast_ttl;
2880 error = sooptcopyout(sopt, &optval, sizeof optval);
2885 optval = coptval = IP_DEFAULT_MULTICAST_LOOP;
2887 optval = coptval = imo->imo_multicast_loop;
2891 error = sooptcopyout(sopt, &optval, sizeof optval);