sock             1620 lib/vfs/direntry.c vfs_s_get_line (struct vfs_class *me, int sock, char *buf, int buf_len, char term)
sock             1628 lib/vfs/direntry.c         if (read (sock, buf, sizeof (char)) <= 0)
sock             1651 lib/vfs/direntry.c     while (read (sock, &c, sizeof (c)) > 0)
sock              187 lib/vfs/xdirentry.h int vfs_s_get_line (struct vfs_class *me, int sock, char *buf, int buf_len, char term);
sock              245 src/vfs/fish/fish.c fish_get_reply (struct vfs_class *me, int sock, char *string_buf, int string_len)
sock              252 src/vfs/fish/fish.c         if (!vfs_s_get_line (me, sock, answer, sizeof (answer), '\n'))
sock              158 src/vfs/ftpfs/ftpfs.c #define FH_SOCK FTP_FILE_HANDLER(fh)->sock
sock              209 src/vfs/ftpfs/ftpfs.c     int sock;
sock              230 src/vfs/ftpfs/ftpfs.c     int sock;
sock              391 src/vfs/ftpfs/ftpfs.c ftpfs_get_reply (struct vfs_class *me, int sock, char *string_buf, int string_len)
sock              397 src/vfs/ftpfs/ftpfs.c         if (vfs_s_get_line (me, sock, answer, sizeof (answer), '\n') == 0)
sock              420 src/vfs/ftpfs/ftpfs.c                     if (vfs_s_get_line (me, sock, answer, sizeof (answer), '\n') == 0)
sock              447 src/vfs/ftpfs/ftpfs.c     int sock;
sock              449 src/vfs/ftpfs/ftpfs.c     sock = ftpfs_open_socket (me, super);
sock              450 src/vfs/ftpfs/ftpfs.c     if (sock != -1)
sock              454 src/vfs/ftpfs/ftpfs.c         close (ftp_super->sock);
sock              455 src/vfs/ftpfs/ftpfs.c         ftp_super->sock = sock;
sock              463 src/vfs/ftpfs/ftpfs.c             sock = ftpfs_chdir_internal (me, super, cwdir);
sock              465 src/vfs/ftpfs/ftpfs.c             return (sock == COMPLETE);
sock              511 src/vfs/ftpfs/ftpfs.c     status = write (ftp_super->sock, cmdstr->str, cmdstr->len);
sock              524 src/vfs/ftpfs/ftpfs.c                 if (status != 0 && (write (ftp_super->sock, cmdstr->str, cmdstr->len) > 0))
sock              542 src/vfs/ftpfs/ftpfs.c         status = ftpfs_get_reply (me, ftp_super->sock,
sock              551 src/vfs/ftpfs/ftpfs.c             if (status != 0 && (write (ftp_super->sock, cmdstr->str, cmdstr->len) > 0))
sock              573 src/vfs/ftpfs/ftpfs.c     arch->sock = -1;
sock              588 src/vfs/ftpfs/ftpfs.c     if (ftp_super->sock != -1)
sock              592 src/vfs/ftpfs/ftpfs.c         close (ftp_super->sock);
sock              668 src/vfs/ftpfs/ftpfs.c     if (ftpfs_get_reply (me, ftp_super->sock, reply_string, sizeof (reply_string) - 1) == COMPLETE)
sock              969 src/vfs/ftpfs/ftpfs.c         ftp_super->sock = ftpfs_open_socket (me, super);
sock              970 src/vfs/ftpfs/ftpfs.c         if (ftp_super->sock == -1)
sock              983 src/vfs/ftpfs/ftpfs.c         close (ftp_super->sock);
sock             1062 src/vfs/ftpfs/ftpfs.c         ftpfs_get_reply (me, FTP_SUPER (super)->sock, buf, sizeof (buf)) == COMPLETE)
sock             1289 src/vfs/ftpfs/ftpfs.c         result = getpeername (ftp_super->sock, (struct sockaddr *) data_addr, data_addrlen);
sock             1291 src/vfs/ftpfs/ftpfs.c         result = getsockname (ftp_super->sock, (struct sockaddr *) data_addr, data_addrlen);
sock             1470 src/vfs/ftpfs/ftpfs.c     if (send (ftp_super->sock, ipbuf, sizeof (ipbuf), MSG_OOB) != sizeof (ipbuf))
sock             1515 src/vfs/ftpfs/ftpfs.c     if ((ftpfs_get_reply (me, ftp_super->sock, NULL, 0) == TRANSIENT) && (code == 426))
sock             1516 src/vfs/ftpfs/ftpfs.c         ftpfs_get_reply (me, ftp_super->sock, NULL, 0);
sock             1607 src/vfs/ftpfs/ftpfs.c     int sock;
sock             1616 src/vfs/ftpfs/ftpfs.c         sock = ftpfs_open_data_connection (bucket, "LIST -lLa", dir->remote_path, TYPE_ASCII, 0);
sock             1625 src/vfs/ftpfs/ftpfs.c         sock = ftpfs_open_data_connection (bucket, "LIST -lLa", ".", TYPE_ASCII, 0);
sock             1628 src/vfs/ftpfs/ftpfs.c     if (sock == -1)
sock             1634 src/vfs/ftpfs/ftpfs.c     fp = fdopen (sock, "r");
sock             1637 src/vfs/ftpfs/ftpfs.c         close (sock);
sock             1704 src/vfs/ftpfs/ftpfs.c     ftpfs_get_reply (me, FTP_SUPER (super)->sock, NULL, 0);
sock             1729 src/vfs/ftpfs/ftpfs.c     int sock, num_entries = 0;
sock             1752 src/vfs/ftpfs/ftpfs.c         sock = ftpfs_open_data_connection (me, super, "LIST", 0, TYPE_ASCII, 0);
sock             1756 src/vfs/ftpfs/ftpfs.c         sock = ftpfs_open_data_connection (me, super, "LIST -la", 0, TYPE_ASCII, 0);
sock             1763 src/vfs/ftpfs/ftpfs.c         sock = ftpfs_open_data_connection (me, super, "LIST -la", path, TYPE_ASCII, 0);
sock             1767 src/vfs/ftpfs/ftpfs.c     if (sock == -1)
sock             1794 src/vfs/ftpfs/ftpfs.c         res = vfs_s_get_line_interruptible (me, lc_buffer, sizeof (lc_buffer), sock);
sock             1801 src/vfs/ftpfs/ftpfs.c             close (sock);
sock             1803 src/vfs/ftpfs/ftpfs.c             ftpfs_get_reply (me, ftp_super->sock, NULL, 0);
sock             1830 src/vfs/ftpfs/ftpfs.c     close (sock);
sock             1833 src/vfs/ftpfs/ftpfs.c     if ((ftpfs_get_reply (me, ftp_super->sock, NULL, 0) != COMPLETE))
sock             1870 src/vfs/ftpfs/ftpfs.c     int h, sock;
sock             1891 src/vfs/ftpfs/ftpfs.c     sock =
sock             1893 src/vfs/ftpfs/ftpfs.c     if (sock < 0)
sock             1901 src/vfs/ftpfs/ftpfs.c     setsockopt (sock, SOL_SOCKET, SO_LINGER, (char *) &li, sizeof (li));
sock             1903 src/vfs/ftpfs/ftpfs.c     setsockopt (sock, SOL_SOCKET, SO_LINGER, &flag_one, sizeof (flag_one));
sock             1930 src/vfs/ftpfs/ftpfs.c         while ((n_written = write (sock, w_buf, n_read)) != n_read)
sock             1950 src/vfs/ftpfs/ftpfs.c     close (sock);
sock             1954 src/vfs/ftpfs/ftpfs.c     if (ftpfs_get_reply (me, ftp_super->sock, NULL, 0) != COMPLETE)
sock             1960 src/vfs/ftpfs/ftpfs.c     close (sock);
sock             1964 src/vfs/ftpfs/ftpfs.c     ftpfs_get_reply (me, ftp_super->sock, NULL, 0);
sock             2013 src/vfs/ftpfs/ftpfs.c         if ((ftpfs_get_reply (me, FTP_SUPER (super)->sock, NULL, 0) != COMPLETE))
sock             2245 src/vfs/ftpfs/ftpfs.c     fh->sock = -1;
sock             2344 src/vfs/ftpfs/ftpfs.c         if (ftpfs_get_reply (me, ftp->sock, NULL, 0) != COMPLETE)
sock              230 src/vfs/smbfs/helpers/lib/util_sock.c     struct sockaddr_in sock;
sock              233 src/vfs/smbfs/helpers/lib/util_sock.c     socklen = sizeof (sock);
sock              234 src/vfs/smbfs/helpers/lib/util_sock.c     memset ((char *) &sock, '\0', socklen);
sock              236 src/vfs/smbfs/helpers/lib/util_sock.c     ret = (ssize_t) recvfrom (fd, buf, len, 0, (struct sockaddr *) &sock, &socklen);
sock              243 src/vfs/smbfs/helpers/lib/util_sock.c     lastip = sock.sin_addr;
sock              244 src/vfs/smbfs/helpers/lib/util_sock.c     lastport = ntohs (sock.sin_port);
sock              745 src/vfs/smbfs/helpers/lib/util_sock.c     struct sockaddr_in sock;
sock              763 src/vfs/smbfs/helpers/lib/util_sock.c     memset ((char *) &sock, '\0', sizeof (sock));
sock              764 src/vfs/smbfs/helpers/lib/util_sock.c     memcpy ((char *) &sock.sin_addr, (char *) hp->h_addr, hp->h_length);
sock              767 src/vfs/smbfs/helpers/lib/util_sock.c     sock.sin_len = sizeof (sock);
sock              769 src/vfs/smbfs/helpers/lib/util_sock.c     sock.sin_port = htons (port);
sock              770 src/vfs/smbfs/helpers/lib/util_sock.c     sock.sin_family = hp->h_addrtype;
sock              771 src/vfs/smbfs/helpers/lib/util_sock.c     sock.sin_addr.s_addr = socket_addr;
sock              789 src/vfs/smbfs/helpers/lib/util_sock.c     if (bind (res, (struct sockaddr *) &sock, sizeof (sock)) < 0)
sock              795 src/vfs/smbfs/helpers/lib/util_sock.c                                 port, inet_ntoa (sock.sin_addr), unix_error_string (errno)));
sock              291 src/vfs/smbfs/helpers/libsmb/namequery.c     int sock, i;
sock              299 src/vfs/smbfs/helpers/libsmb/namequery.c     sock = open_socket_in (SOCK_DGRAM, 0, 3, interpret_addr (lp_socket_address ()), True);
sock              301 src/vfs/smbfs/helpers/libsmb/namequery.c     if (sock != -1)
sock              306 src/vfs/smbfs/helpers/libsmb/namequery.c         set_socket_options (sock, "SO_BROADCAST");
sock              316 src/vfs/smbfs/helpers/libsmb/namequery.c             iplist = name_query (sock, name, name_type, True, True, sendto_ip, &count, NULL);
sock              321 src/vfs/smbfs/helpers/libsmb/namequery.c                 close (sock);
sock              325 src/vfs/smbfs/helpers/libsmb/namequery.c         close (sock);
sock              339 src/vfs/smbfs/helpers/libsmb/namequery.c     int sock;
sock              364 src/vfs/smbfs/helpers/libsmb/namequery.c         sock = open_socket_in (SOCK_DGRAM, 0, 3, interpret_addr (lp_socket_address ()), True);
sock              366 src/vfs/smbfs/helpers/libsmb/namequery.c         if (sock != -1)
sock              370 src/vfs/smbfs/helpers/libsmb/namequery.c             iplist = name_query (sock, name, name_type, False, True, wins_ip, &count, NULL);
sock              375 src/vfs/smbfs/helpers/libsmb/namequery.c                 close (sock);
sock              378 src/vfs/smbfs/helpers/libsmb/namequery.c             close (sock);