Lines Matching refs:addrlen
102 ksocket_bind(ksocket_t ks, struct sockaddr *addr, socklen_t addrlen,
113 error = socket_bind(KSTOSO(ks), addr, addrlen, _SOBIND_SOCKBSD, cr);
171 ksocket_connect(ksocket_t ks, struct sockaddr *addr, socklen_t addrlen,
180 return (socket_connect(KSTOSO(ks), addr, addrlen,
565 ksocket_getsockname(ksocket_t ks, struct sockaddr *addr, socklen_t *addrlen,
578 if (addrlen == NULL || (addr == NULL && *addrlen != 0))
581 return (socket_getsockname(so, addr, addrlen, cr));
585 ksocket_getpeername(ksocket_t ks, struct sockaddr *addr, socklen_t *addrlen,
598 if (addrlen == NULL || (addr == NULL && *addrlen != 0))
601 return (socket_getpeername(so, addr, addrlen, B_FALSE, cr));