Home | History | Annotate | Download | only in openssh

Lines Matching defs:sock

1000 	int len, sock;
1012 sock = accept(sockets[i].fd,
1014 if (sock < 0) {
1019 if (getpeereid(sock, &euid, &egid) < 0) {
1021 sock, strerror(errno));
1022 close(sock);
1029 close(sock);
1032 new_socket(AUTH_CONNECTION, sock);
1130 int sock, fd, ch, result, saved_errno;
1255 sock = socket(AF_UNIX, SOCK_STREAM, 0);
1256 if (sock < 0) {
1265 if (bind(sock, (struct sockaddr *) &sunaddr, sizeof(sunaddr)) < 0) {
1272 if (listen(sock, SSH_LISTEN_BACKLOG) < 0) {
1295 close(sock);
1347 new_socket(AUTH_SOCKET, sock);