sock 1611 lib/vfs/direntry.c vfs_s_get_line (struct vfs_class *me, int sock, char *buf, int buf_len, char term) sock 1619 lib/vfs/direntry.c if (read (sock, buf, sizeof (char)) <= 0) sock 1642 lib/vfs/direntry.c while (read (sock, &c, sizeof (c)) > 0) sock 190 lib/vfs/xdirentry.h int vfs_s_get_line (struct vfs_class *me, int sock, char *buf, int buf_len, char term); sock 159 src/vfs/ftpfs/ftpfs.c #define FH_SOCK FTP_FILE_HANDLER(fh)->sock sock 210 src/vfs/ftpfs/ftpfs.c int sock; sock 231 src/vfs/ftpfs/ftpfs.c int sock; sock 389 src/vfs/ftpfs/ftpfs.c ftpfs_get_reply (struct vfs_class *me, int sock, char *string_buf, int string_len) sock 395 src/vfs/ftpfs/ftpfs.c if (vfs_s_get_line (me, sock, answer, sizeof (answer), '\n') == 0) sock 418 src/vfs/ftpfs/ftpfs.c if (vfs_s_get_line (me, sock, answer, sizeof (answer), '\n') == 0) sock 445 src/vfs/ftpfs/ftpfs.c int sock; sock 447 src/vfs/ftpfs/ftpfs.c sock = ftpfs_open_socket (me, super); sock 448 src/vfs/ftpfs/ftpfs.c if (sock != -1) sock 452 src/vfs/ftpfs/ftpfs.c close (ftp_super->sock); sock 453 src/vfs/ftpfs/ftpfs.c ftp_super->sock = sock; sock 461 src/vfs/ftpfs/ftpfs.c sock = ftpfs_chdir_internal (me, super, cwdir); sock 463 src/vfs/ftpfs/ftpfs.c return (sock == COMPLETE); sock 509 src/vfs/ftpfs/ftpfs.c status = write (ftp_super->sock, cmdstr->str, cmdstr->len); sock 522 src/vfs/ftpfs/ftpfs.c if (status != 0 && (write (ftp_super->sock, cmdstr->str, cmdstr->len) > 0)) sock 540 src/vfs/ftpfs/ftpfs.c status = ftpfs_get_reply (me, ftp_super->sock, sock 549 src/vfs/ftpfs/ftpfs.c if (status != 0 && (write (ftp_super->sock, cmdstr->str, cmdstr->len) > 0)) sock 571 src/vfs/ftpfs/ftpfs.c arch->sock = -1; sock 586 src/vfs/ftpfs/ftpfs.c if (ftp_super->sock != -1) sock 590 src/vfs/ftpfs/ftpfs.c close (ftp_super->sock); sock 666 src/vfs/ftpfs/ftpfs.c if (ftpfs_get_reply (me, ftp_super->sock, reply_string, sizeof (reply_string) - 1) == COMPLETE) sock 972 src/vfs/ftpfs/ftpfs.c ftp_super->sock = ftpfs_open_socket (me, super); sock 973 src/vfs/ftpfs/ftpfs.c if (ftp_super->sock == -1) sock 986 src/vfs/ftpfs/ftpfs.c close (ftp_super->sock); sock 1065 src/vfs/ftpfs/ftpfs.c ftpfs_get_reply (me, FTP_SUPER (super)->sock, buf, sizeof (buf)) == COMPLETE) sock 1311 src/vfs/ftpfs/ftpfs.c result = getpeername (ftp_super->sock, (struct sockaddr *) data_addr, data_addrlen); sock 1332 src/vfs/ftpfs/ftpfs.c result = getsockname (ftp_super->sock, (struct sockaddr *) data_addr, data_addrlen); sock 1531 src/vfs/ftpfs/ftpfs.c if (send (ftp_super->sock, ipbuf, sizeof (ipbuf), MSG_OOB) != sizeof (ipbuf)) sock 1578 src/vfs/ftpfs/ftpfs.c if ((ftpfs_get_reply (me, ftp_super->sock, NULL, 0) == TRANSIENT) && (code == 426)) sock 1579 src/vfs/ftpfs/ftpfs.c ftpfs_get_reply (me, ftp_super->sock, NULL, 0); sock 1670 src/vfs/ftpfs/ftpfs.c int sock; sock 1679 src/vfs/ftpfs/ftpfs.c sock = ftpfs_open_data_connection (bucket, "LIST -lLa", dir->remote_path, TYPE_ASCII, 0); sock 1688 src/vfs/ftpfs/ftpfs.c sock = ftpfs_open_data_connection (bucket, "LIST -lLa", ".", TYPE_ASCII, 0); sock 1691 src/vfs/ftpfs/ftpfs.c if (sock == -1) sock 1697 src/vfs/ftpfs/ftpfs.c fp = fdopen (sock, "r"); sock 1700 src/vfs/ftpfs/ftpfs.c close (sock); sock 1767 src/vfs/ftpfs/ftpfs.c ftpfs_get_reply (me, FTP_SUPER (super)->sock, NULL, 0); sock 1791 src/vfs/ftpfs/ftpfs.c int sock; sock 1819 src/vfs/ftpfs/ftpfs.c sock = ftpfs_open_data_connection (me, super, "LIST", 0, TYPE_ASCII, 0); sock 1823 src/vfs/ftpfs/ftpfs.c sock = ftpfs_open_data_connection (me, super, "LIST -la", 0, TYPE_ASCII, 0); sock 1830 src/vfs/ftpfs/ftpfs.c sock = ftpfs_open_data_connection (me, super, "LIST -la", path, TYPE_ASCII, 0); sock 1834 src/vfs/ftpfs/ftpfs.c if (sock == -1) sock 1853 src/vfs/ftpfs/ftpfs.c while ((res = vfs_s_get_line_interruptible (me, lc_buffer, sizeof (lc_buffer), sock)) != 0) sock 1858 src/vfs/ftpfs/ftpfs.c close (sock); sock 1860 src/vfs/ftpfs/ftpfs.c ftpfs_get_reply (me, ftp_super->sock, NULL, 0); sock 1876 src/vfs/ftpfs/ftpfs.c close (sock); sock 1879 src/vfs/ftpfs/ftpfs.c if ((ftpfs_get_reply (me, ftp_super->sock, NULL, 0) != COMPLETE)) sock 1927 src/vfs/ftpfs/ftpfs.c int h, sock; sock 1949 src/vfs/ftpfs/ftpfs.c sock = sock 1951 src/vfs/ftpfs/ftpfs.c if (sock < 0) sock 1959 src/vfs/ftpfs/ftpfs.c setsockopt (sock, SOL_SOCKET, SO_LINGER, (char *) &li, sizeof (li)); sock 1961 src/vfs/ftpfs/ftpfs.c setsockopt (sock, SOL_SOCKET, SO_LINGER, &flag_one, sizeof (flag_one)); sock 1988 src/vfs/ftpfs/ftpfs.c while ((n_written = write (sock, w_buf, n_read)) != n_read) sock 2008 src/vfs/ftpfs/ftpfs.c close (sock); sock 2012 src/vfs/ftpfs/ftpfs.c if (ftpfs_get_reply (me, ftp_super->sock, NULL, 0) != COMPLETE) sock 2018 src/vfs/ftpfs/ftpfs.c close (sock); sock 2022 src/vfs/ftpfs/ftpfs.c ftpfs_get_reply (me, ftp_super->sock, NULL, 0); sock 2071 src/vfs/ftpfs/ftpfs.c if ((ftpfs_get_reply (me, FTP_SUPER (super)->sock, NULL, 0) != COMPLETE)) sock 2303 src/vfs/ftpfs/ftpfs.c fh->sock = -1; sock 2399 src/vfs/ftpfs/ftpfs.c if (ftpfs_get_reply (me, ftp->sock, NULL, 0) != COMPLETE) sock 247 src/vfs/shell/shell.c shell_get_reply (struct vfs_class *me, int sock, char *string_buf, int string_len) sock 254 src/vfs/shell/shell.c if (!vfs_s_get_line (me, sock, answer, sizeof (answer), '\n'))