Lines Matching refs:portno
317 unsigned short portno; in php_fopen_do_pasv() local
360 portno = (unsigned short) strtoul(tpath, &ttpath, 10) * 256; in php_fopen_do_pasv()
371 portno += (unsigned short) strtoul(tpath, &ttpath, 10); in php_fopen_do_pasv()
386 portno = (unsigned short) strtoul(tpath + 1, &ttpath, 10); in php_fopen_do_pasv()
398 return portno; in php_fopen_do_pasv()
410 unsigned short portno; in php_stream_url_wrap_ftp() local
511 portno = php_fopen_do_pasv(stream, ip, sizeof(ip), &hoststart); in php_stream_url_wrap_ftp()
513 if (!portno) { in php_stream_url_wrap_ftp()
547 transport_len = (int)spprintf(&transport, 0, "tcp://%s:%d", hoststart, portno); in php_stream_url_wrap_ftp()
690 unsigned short portno; in php_stream_ftp_opendir() local
709 portno = php_fopen_do_pasv(stream, ip, sizeof(ip), &hoststart); in php_stream_ftp_opendir()
711 if (!portno) { in php_stream_ftp_opendir()
720 datastream = php_stream_sock_open_host(hoststart, portno, SOCK_STREAM, 0, 0); in php_stream_ftp_opendir()