port 241 lib/vfs/path.c path_element->port = 0; port 295 lib/vfs/path.c if (sscanf (colon + 1, "%d", &path_element->port) == 1) port 297 lib/vfs/path.c if (path_element->port <= 0 || path_element->port >= 65536) port 298 lib/vfs/path.c path_element->port = 0; port 306 lib/vfs/path.c path_element->port = 1; port 309 lib/vfs/path.c path_element->port = 2; port 857 lib/vfs/path.c new_element->port = element->port; port 1134 lib/vfs/path.c if (element->port != 0) port 1135 lib/vfs/path.c mc_config_set_int (cpath, groupname, "port", element->port); port 1206 lib/vfs/path.c element->port = mc_config_get_int (cpath, groupname, "port", 0); port 1522 lib/vfs/path.c if ((element->port) != 0 && (element->host != NULL)) port 1525 lib/vfs/path.c g_string_append_printf (buffer, "%d", element->port); port 39 lib/vfs/path.h int port; port 242 lib/vfs/utilvfs.c path_element->port = default_port; port 321 lib/vfs/utilvfs.c if (sscanf (colon + 1, "%d", &path_element->port) == 1) port 323 lib/vfs/utilvfs.c if (path_element->port <= 0 || path_element->port >= 65536) port 324 lib/vfs/utilvfs.c path_element->port = default_port; port 332 lib/vfs/utilvfs.c path_element->port = 1; port 335 lib/vfs/utilvfs.c path_element->port = 2; port 512 src/vfs/fish/fish.c const char *xsh = (super->path_element->port == FISH_FLAG_RSH ? "rsh" : "ssh"); port 516 src/vfs/fish/fish.c if (super->path_element->port == FISH_FLAG_COMPRESSED) port 519 src/vfs/fish/fish.c if (super->path_element->port > FISH_FLAG_RSH) port 522 src/vfs/fish/fish.c g_snprintf (gbuf, sizeof (gbuf), "%d", super->path_element->port); port 674 src/vfs/fish/fish.c super->path_element->port = FISH_FLAG_RSH; port 740 src/vfs/fish/fish.c && (path_element->port == super->path_element->port)) ? 1 : 0; port 1701 src/vfs/fish/fish.c switch (super->path_element->port) port 1710 src/vfs/fish/fish.c if (super->path_element->port > FISH_FLAG_RSH) port 1712 src/vfs/fish/fish.c g_snprintf (gbuf, sizeof (gbuf), ":%d", super->path_element->port); port 356 src/vfs/ftpfs/ftpfs.c if (path_element->port == 0) port 357 src/vfs/ftpfs/ftpfs.c path_element->port = FTP_COMMAND_PORT; port 830 src/vfs/ftpfs/ftpfs.c ftpfs_get_proxy_host_and_port (const char *proxy, char **host, int *port) port 837 src/vfs/ftpfs/ftpfs.c *port = path_element->port; port 849 src/vfs/ftpfs/ftpfs.c char port[8]; port 869 src/vfs/ftpfs/ftpfs.c tmp_port = super->path_element->port; port 872 src/vfs/ftpfs/ftpfs.c g_snprintf (port, sizeof (port), "%hu", (unsigned short) tmp_port); port 887 src/vfs/ftpfs/ftpfs.c e = getaddrinfo (host, port, &hints, &res); port 894 src/vfs/ftpfs/ftpfs.c e = getaddrinfo (host, port, &hints, &res); port 898 src/vfs/ftpfs/ftpfs.c *port = '\0'; port 1047 src/vfs/ftpfs/ftpfs.c && (path_element->port == super->path_element->port)) ? 1 : 0; port 1148 src/vfs/ftpfs/ftpfs.c int port; port 1162 src/vfs/ftpfs/ftpfs.c port = atoi (c); port 1163 src/vfs/ftpfs/ftpfs.c if (port < 0 || port > 65535) port 1166 src/vfs/ftpfs/ftpfs.c port = htons (port); port 1171 src/vfs/ftpfs/ftpfs.c ((struct sockaddr_in *) sa)->sin_port = port; port 1174 src/vfs/ftpfs/ftpfs.c ((struct sockaddr_in6 *) sa)->sin6_port = port; port 1212 src/vfs/ftpfs/ftpfs.c unsigned short int port; port 1221 src/vfs/ftpfs/ftpfs.c port = ((struct sockaddr_in *) &data_addr)->sin_port; port 1225 src/vfs/ftpfs/ftpfs.c port = ((struct sockaddr_in6 *) &data_addr)->sin6_port; port 1248 src/vfs/ftpfs/ftpfs.c unsigned char *p = (unsigned char *) &port; port 1265 src/vfs/ftpfs/ftpfs.c port = ntohs (port); port 1269 src/vfs/ftpfs/ftpfs.c (ftpfs_command (me, super, WAIT_REPLY, "EPRT |%u|%s|%hu|", af, addr, port) == port 55 src/vfs/sftpfs/config_parser.c int port; /* port for connect to host */ port 86 src/vfs/sftpfs/config_parser.c {"^\\s*Port\\s+(.*)$", NULL, INTEGER, offsetof (sftpfs_ssh_config_entity_t, port)}, port 308 src/vfs/sftpfs/config_parser.c config_entity->port = SFTP_DEFAULT_PORT; port 368 src/vfs/sftpfs/config_parser.c if (super->path_element->port == 0) port 369 src/vfs/sftpfs/config_parser.c super->path_element->port = config_entity->port; port 75 src/vfs/sftpfs/connection.c char port[BUF_TINY]; port 86 src/vfs/sftpfs/connection.c sprintf (port, "%hu", (unsigned short) super->path_element->port); port 101 src/vfs/sftpfs/connection.c e = getaddrinfo (super->path_element->host, port, &hints, &res); port 108 src/vfs/sftpfs/connection.c e = getaddrinfo (super->path_element->host, port, &hints, &res); port 72 src/vfs/sftpfs/vfs_subclass.c && (vpath_element->port == orig_connect_info->port)); port 59 src/vfs/smbfs/helpers/include/client.h int port; port 429 src/vfs/smbfs/helpers/include/nameserv.h int port; port 200 src/vfs/smbfs/helpers/include/proto.h BOOL send_one_packet (char *buf, int len, struct in_addr ip, int port, int type); port 201 src/vfs/smbfs/helpers/include/proto.h int open_socket_in (int type, int port, int dlevel, uint32 socket_addr, BOOL rebind); port 202 src/vfs/smbfs/helpers/include/proto.h int open_socket_out (int type, struct in_addr *addr, int port, int timeout); port 243 src/vfs/smbfs/helpers/include/proto.h int cli_set_port (struct cli_state *cli, int port); port 699 src/vfs/smbfs/helpers/lib/util_sock.c send_one_packet (char *buf, int len, struct in_addr ip, int port, int type) port 719 src/vfs/smbfs/helpers/lib/util_sock.c sock_out.sin_port = htons (port); port 724 src/vfs/smbfs/helpers/lib/util_sock.c len, inet_ntoa (ip), port, type == SOCK_DGRAM ? "DGRAM" : "STREAM")); port 731 src/vfs/smbfs/helpers/lib/util_sock.c inet_ntoa (ip), port, unix_error_string (errno))); port 742 src/vfs/smbfs/helpers/lib/util_sock.c open_socket_in (int type, int port, int dlevel, uint32 socket_addr, BOOL rebind) port 769 src/vfs/smbfs/helpers/lib/util_sock.c sock.sin_port = htons (port); port 791 src/vfs/smbfs/helpers/lib/util_sock.c if (port) port 793 src/vfs/smbfs/helpers/lib/util_sock.c if (port == SMB_PORT || port == NMB_PORT) port 795 src/vfs/smbfs/helpers/lib/util_sock.c port, inet_ntoa (sock.sin_addr), unix_error_string (errno))); port 798 src/vfs/smbfs/helpers/lib/util_sock.c if (dlevel > 0 && port < 1000) port 799 src/vfs/smbfs/helpers/lib/util_sock.c port = 7999; port 801 src/vfs/smbfs/helpers/lib/util_sock.c if (port >= 1000 && port < 9000) port 802 src/vfs/smbfs/helpers/lib/util_sock.c return (open_socket_in (type, port + 1, dlevel, socket_addr, rebind)); port 807 src/vfs/smbfs/helpers/lib/util_sock.c DEBUG (3, ("bind succeeded on port %d\n", port)); port 817 src/vfs/smbfs/helpers/lib/util_sock.c open_socket_out (int type, struct in_addr *addr, int port, int timeout) port 838 src/vfs/smbfs/helpers/lib/util_sock.c sock_out.sin_port = htons (port); port 844 src/vfs/smbfs/helpers/lib/util_sock.c DEBUG (3, ("Connecting to %s at port %d\n", inet_ntoa (*addr), port)); port 859 src/vfs/smbfs/helpers/lib/util_sock.c DEBUG (1, ("timeout connecting to %s:%d\n", inet_ntoa (*addr), port)); port 875 src/vfs/smbfs/helpers/lib/util_sock.c inet_ntoa (*addr), port, unix_error_string (errno))); port 40 src/vfs/smbfs/helpers/libsmb/clientgen.c cli_set_port (struct cli_state *cli, int port) port 42 src/vfs/smbfs/helpers/libsmb/clientgen.c if (port > 0) port 43 src/vfs/smbfs/helpers/libsmb/clientgen.c cli->port = port; port 45 src/vfs/smbfs/helpers/libsmb/clientgen.c return cli->port; port 2473 src/vfs/smbfs/helpers/libsmb/clientgen.c int port = (CVAL (cli->inbuf, 8) << 8) + CVAL (cli->inbuf, 9); port 2478 src/vfs/smbfs/helpers/libsmb/clientgen.c cli->fd = open_socket_out (SOCK_STREAM, &cli->dest_ip, port, LONG_CONNECT_TIMEOUT); port 2535 src/vfs/smbfs/helpers/libsmb/clientgen.c if (cli->port == 0) port 2536 src/vfs/smbfs/helpers/libsmb/clientgen.c cli->port = 139; /* Set to default */ port 2538 src/vfs/smbfs/helpers/libsmb/clientgen.c cli->fd = open_socket_out (SOCK_STREAM, &cli->dest_ip, cli->port, cli->timeout); port 2567 src/vfs/smbfs/helpers/libsmb/clientgen.c cli->port = 0; port 83 src/vfs/smbfs/helpers/libsmb/namequery.c p.port = NMB_PORT; port 120 src/vfs/smbfs/helpers/libsmb/nmblib.c inet_ntoa (p->ip), p->port, port 720 src/vfs/smbfs/helpers/libsmb/nmblib.c packet->port = lastport; port 746 src/vfs/smbfs/helpers/libsmb/nmblib.c length, inet_ntoa (packet->ip), packet->port)); port 756 src/vfs/smbfs/helpers/libsmb/nmblib.c send_udp (int fd, char *buf, int len, struct in_addr ip, int port) port 764 src/vfs/smbfs/helpers/libsmb/nmblib.c sock_out.sin_port = htons (port); port 767 src/vfs/smbfs/helpers/libsmb/nmblib.c DEBUG (5, ("Sending a packet of len %d to (%s) on port %d\n", len, inet_ntoa (ip), port)); port 773 src/vfs/smbfs/helpers/libsmb/nmblib.c inet_ntoa (ip), port, unix_error_string (errno))); port 957 src/vfs/smbfs/helpers/libsmb/nmblib.c return (send_udp (p->fd, buf, len, p->ip, p->port)); port 156 src/vfs/smbfs/smbfs.c int port; port 1086 src/vfs/smbfs/smbfs.c if ((cli_set_port (c, current_bucket->port) == 0) || !cli_connect (c, server, &ip)) port 1228 src/vfs/smbfs/smbfs.c smbfs_open_link (char *host, char *path, const char *user, int *port, char *this_pass) port 1289 src/vfs/smbfs/smbfs.c bucket->port = *port; port 1360 src/vfs/smbfs/smbfs.c *sc = smbfs_open_link (url->host, url->path, url->user, &url->port, url->password); port 2006 src/vfs/smbfs/smbfs.c && (p->port == smbfs_connections[i].port))