• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/bsd/sys/

Lines Matching refs:so

61 	@param so A reference to the socket that's ready.
65 typedef void (*sock_upcall)(socket_t so, void* cookie, int waitf);
72 @param so The listening socket you'd like to accept a connection on.
88 errno_t sock_accept(socket_t so, struct sockaddr *from, int fromlen,
95 @param so The socket to be bound.
99 errno_t sock_bind(socket_t so, const struct sockaddr *to);
105 @param so The socket to be connect.
107 @param flags Flags for connecting. The only flag supported so far is
115 errno_t sock_connect(socket_t so, const struct sockaddr *to, int flags);
129 @param so The socket being connected.
135 errno_t sock_connectwait(socket_t so, const struct timeval *tv);
142 @param so The socket.
147 errno_t sock_getpeername(socket_t so, struct sockaddr *peername,
154 @param so The socket.
159 errno_t sock_getsockname(socket_t so, struct sockaddr *sockname,
165 @param so The socket.
172 errno_t sock_getsockopt(socket_t so, int level, int optname, void *optval,
178 @param so The socket.
183 errno_t sock_ioctl(socket_t so, unsigned long request, void *argp);
188 @param so The socket.
195 errno_t sock_setsockopt(socket_t so, int level, int optname, const void *optval,
202 @param so The socket.
206 errno_t sock_listen(socket_t so, int backlog);
212 @param so The socket.
220 errno_t sock_receive(socket_t so, struct msghdr *msg, int flags,
228 @param so The socket.
241 errno_t sock_receivembuf(socket_t so, struct msghdr *msg, mbuf_t *data,
248 @param so The socket.
256 errno_t sock_send(socket_t so, const struct msghdr *msg, int flags,
263 @param so The socket.
273 errno_t sock_sendmbuf(socket_t so, const struct msghdr *msg, mbuf_t data,
280 @param so The socket.
284 errno_t sock_shutdown(socket_t so, int how);
306 @param so The socket to close. This should only ever be a socket
311 void sock_close(socket_t so);
317 @param so The socket to close. Increment a retain count on the
322 sock_release(socket_t so).
324 void sock_retain(socket_t so);
330 @param so The socket to release. This is used to release ownership
334 void sock_release(socket_t so);
341 @param so The socket on which to modify the SS_PRIV flag.
345 errno_t sock_setpriv(socket_t so, int on);
350 @param so The socket to check.
353 int sock_isconnected(socket_t so);
366 int sock_isnonblocking(socket_t so);
372 parameters following so are NULL, that information is not
374 @param so The socket to check.
380 errno_t sock_gettype(socket_t so, int *domain, int *type, int *protocol);
387 @param so The socket to modify.
391 errno_t sock_nointerrupt(socket_t so, int on);
408 @param so The pre-accepted socket.
413 socket_t sock_getlistener(socket_t so);
422 @param so The socket.
427 errno_t sock_getaddr(socket_t so, struct sockaddr **psockname, int peername);