Searched refs:sock_addrlen (Results 1 – 1 of 1) sorted by relevance
/titanic_50/usr/src/uts/common/fs/sockfs/ |
H A D | socksyscalls.c | 1414 socklen_t sock_addrlen; in getpeername() local 1429 sock_addrlen = so->so_max_addr_len; in getpeername() 1430 sock_addrp = (struct sockaddr *)kmem_alloc(sock_addrlen, KM_SLEEP); in getpeername() 1432 if ((error = socket_getpeername(so, sock_addrp, &sock_addrlen, in getpeername() 1434 ASSERT(sock_addrlen <= so->so_max_addr_len); in getpeername() 1436 (void *)sock_addrp, sock_addrlen); in getpeername() 1450 socklen_t namelen, sock_addrlen; in getsockname() local 1466 sock_addrlen = so->so_max_addr_len; in getsockname() 1467 sock_addrp = (struct sockaddr *)kmem_alloc(sock_addrlen, KM_SLEEP); in getsockname() 1468 if ((error = socket_getsockname(so, sock_addrp, &sock_addrlen, in getsockname() [all …]
|