Home
last modified time | relevance | path

Searched refs:portno (Results 1 – 2 of 2) sorted by relevance

/PHP-8.3/ext/standard/
H A Dftp_fopen_wrapper.c317 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()
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()
[all …]
/PHP-8.3/main/streams/
H A Dxp_socket.c614 static inline char *parse_ip_address_ex(const char *str, size_t str_len, int *portno, int get_err, … in parse_ip_address_ex() argument
631 *portno = atoi(p + 2); in parse_ip_address_ex()
641 *portno = atoi(colon + 1); in parse_ip_address_ex()
653 static inline char *parse_ip_address(php_stream_xport_param *xparam, int *portno) in parse_ip_address() argument
655 …return parse_ip_address_ex(xparam->inputs.name, xparam->inputs.namelen, portno, xparam->want_error… in parse_ip_address()
662 int portno, err; in php_tcp_sockop_bind() local
688 host = parse_ip_address(xparam, &portno); in php_tcp_sockop_bind()
723 sock->socket = php_network_bind_socket_to_local_addr(host, portno, in php_tcp_sockop_bind()
741 int portno, bindport = 0; in php_tcp_sockop_connect() local
774 host = parse_ip_address(xparam, &portno); in php_tcp_sockop_connect()
[all …]

Completed in 10 milliseconds