Lines Matching refs:saddr
130 struct sockaddr_un saddr; in smb_opipe_connect() local
144 bzero(&saddr, sizeof (saddr)); in smb_opipe_connect()
145 saddr.sun_family = AF_UNIX; in smb_opipe_connect()
146 (void) snprintf(saddr.sun_path, sizeof (saddr.sun_path), in smb_opipe_connect()
148 rc = ksocket_connect(opipe->p_socket, (struct sockaddr *)&saddr, in smb_opipe_connect()
149 sizeof (saddr), sr->user_cr); in smb_opipe_connect()
157 struct sockaddr_un saddr; in smb_opipe_exists() local
161 bzero(&saddr, sizeof (saddr)); in smb_opipe_exists()
162 saddr.sun_family = AF_UNIX; in smb_opipe_exists()
163 (void) snprintf(saddr.sun_path, sizeof (saddr.sun_path), in smb_opipe_exists()
166 err = lookupname(saddr.sun_path, UIO_SYSSPACE, FOLLOW, NULLVPP, &vp); in smb_opipe_exists()