Searched refs:sock_addrp (Results 1 - 2 of 2) sorted by relevance
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | socksyscalls.c | 1420 struct sockaddr *sock_addrp; local 1435 sock_addrp = (struct sockaddr *)kmem_alloc(sock_addrlen, KM_SLEEP); 1437 if ((error = socket_getpeername(so, sock_addrp, &sock_addrlen, 1441 (void *)sock_addrp, sock_addrlen); 1443 kmem_free(sock_addrp, so->so_max_addr_len); 1457 struct sockaddr *sock_addrp; local 1473 sock_addrp = (struct sockaddr *)kmem_alloc(sock_addrlen, KM_SLEEP); 1474 if ((error = socket_getsockname(so, sock_addrp, &sock_addrlen, 1479 (void *)sock_addrp, sock_addrlen); 1481 kmem_free(sock_addrp, s [all...] |
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/ |
H A D | sol_ib_cma.c | 2199 ipaddr2sockaddr(ibt_ip_addr_t *ibt_addrp, struct sockaddr *sock_addrp, argument 2202 sock_addrp->sa_family = ibt_addrp->family; 2205 sock_in4p = (struct sockaddr_in *)sock_addrp; 2212 in6_addr = (struct sockaddr_in6 *)sock_addrp; 2222 sockaddr2ibtaddr_port(struct rdma_cm_id *idp, struct sockaddr *sock_addrp, argument 2227 ibt_addrp->family = sock_addrp->sa_family; 2228 if (sock_addrp->sa_family == AF_INET) { 2230 sock_in4p = (struct sockaddr_in *)sock_addrp; 2247 in6_addr = (struct sockaddr_in6 *)sock_addrp;
|
Completed in 51 milliseconds