Lines Matching defs:so
124 uipc_socket_50_getopt1(int opt, struct socket *so, struct sockopt *sopt)
134 so->so_snd.sb_timeo : so->so_rcv.sb_timeo);
143 error = sockopt_setint(sopt, (so->so_options & opt) ? 1 : 0);
153 uipc_socket_50_setopt1(int opt, struct socket *so, const struct sockopt *sopt)
163 solock(so);
187 so->so_snd.sb_timeo = optval;
190 so->so_rcv.sb_timeo = optval;
197 solock(so);
201 so->so_options |= opt;
203 so->so_options &= ~opt;