Lines Matching defs:to
7 * as defined in and that are subject to the Apple Public Source License
9 * compliance with the License. The rights granted to you under the License
10 * may not be used to create, or enable the creation or redistribution of,
11 * unlawful or unlicensed copies of an Apple operating system, or to
127 * Pass the pre-accepted socket to any interested socket filter(s).
133 * hand off control over to the socket filter(s), but keep
191 const struct sockaddr *to)
198 if (sock == NULL || to == NULL)
201 if (to->sa_len > sizeof(ss)) {
202 MALLOC(sa, struct sockaddr *, to->sa_len, M_SONAME, M_WAITOK);
209 memcpy(sa, to, to->sa_len);
222 const struct sockaddr *to,
231 if (sock == NULL || to == NULL) return EINVAL;
233 if (to->sa_len > sizeof(ss)) {
234 MALLOC(sa, struct sockaddr *, to->sa_len, M_SONAME,
242 memcpy(sa, to, to->sa_len);
315 // copied translation from timeval to hertz from SO_RCVTIMEO handling
336 // Check if we're still waiting to connect
585 * We do not want to set traffic class bits if the destination
875 * In cases where we detect an error before returning, we need to
963 /* Do we want this to be APPLE_PRIVATE API?: YES (LD 12/23/04)*/
975 /* Do we want this to be APPLE_PRIVATE API? */
1061 * listener (so_head) value of a given socket. This is intended to be
1063 * The value returned by this routine is safe to be used only in the
1136 * SHUTDOWN_SOCKET_LEVEL_DISCONNECT_SVC level is meant to tear down
1161 * Note that we don't wait for any in progress upcall to complete.