Home | History | Annotate | Download | only in libxml2

Lines Matching defs:port

125     int port;		/* the port */
148 static int proxyPort = 0; /* the proxy port if any */
256 * @port: the proxy port
267 xmlNanoFTPProxy(const char *host, int port, const char *user,
287 proxyPort = port;
297 * the protocol host port and path it indicates.
337 if (uri->port != 0)
338 ctxt->port = uri->port;
362 * protocol, hostname, port or other information, the
393 ((uri->port != 0) && (ctxt->port != uri->port))) {
398 if (uri->port != 0)
399 ctxt->port = uri->port;
421 * the protocol host port it indicates.
456 if (uri->port != 0)
457 proxyPort = uri->port;
483 ret->port = 21;
858 int port;
871 port = proxyPort;
873 port = ctxt->port;
875 if (port == 0)
876 port = 21;
918 ((struct sockaddr_in6 *) &ctxt->ftpAddr)->sin6_port = htons (port);
923 ((struct sockaddr_in *) &ctxt->ftpAddr)->sin_port = htons (port);
953 (unsigned short)htons ((unsigned short)port);
1231 * @port: the port (use 21 if 0)
1233 * Tries to open a control connection to the given server/port
1239 xmlNanoFTPConnectTo(const char *server, int port) {
1246 if (port <= 0)
1256 if (port != 0)
1257 ctxt->port = port;
1512 snprintf (buf, sizeof(buf), "PORT %d,%d,%d,%d,%d,%d\r\n",