Lines Matching defs:port
114 int port);
354 * After allowing server to connect to us from data port, this function
489 infof(data, "Preparing for accepting server on data port");
931 unsigned short port;
940 * (ipv4|ipv6|domain|interface)?(:port(-range)?)?
949 /* [ipv6]:port(-range) */
960 /* :port */
967 /* either ipv6 or (ipv4|domain|interface):port(-range) */
973 ip_end = NULL; /* this got no port ! */
982 /* parse the port */
1032 /* there was only a port(-range) given, default the host */
1104 for(port = port_min; port <= port_max;) {
1106 sa4->sin_port = htons(port);
1109 sa6->sin6_port = htons(port);
1117 * the control connection instead and restart the port loop
1119 infof(data, "bind(port=%hu) on non-local address failed: %s", port,
1128 port = port_min;
1133 failf(data, "bind(port=%hu) failed: %s", port,
1141 port++;
1145 if(port > port_max) {
1151 port number it uses now */
1158 DEBUGF(infof(data, "ftp_state_use_port(), socket bound to port %d", port));
1167 DEBUGF(infof(data, "ftp_state_use_port(), listening on %d", port));
1194 port = ntohs(sa4->sin_port);
1198 port = ntohs(sa6->sin6_port);
1216 myhost, port);
1240 msnprintf(dest, 20, ",%d,%d", (int)(port>>8), (int)(port&0xff));
1286 229 Entering Extended Passive Mode (|||port|)
1829 unsigned short connectport; /* the local port connect() should use! */
1854 failf(data, "Illegal port number in EPSV reply");
1879 * IP+port indicators.
1932 rc = Curl_resolv(data, host_name, conn->port, FALSE, &addr);
1939 (unsigned short)conn->port; /* we connect to the proxy's port */
1966 connectport = ftpc->newport; /* we connect to the remote port */
3560 int port)
3564 infof(data, "Connecting to %s (%s) port %d", newhost, buf, port);