Home
last modified time | relevance | path

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

/PHP-5.4/main/streams/
H A Dxp_socket.c524 static inline char *parse_ip_address_ex(const char *str, int str_len, int *portno, int get_err, cha… in parse_ip_address_ex() argument
541 *portno = atoi(p + 2); in parse_ip_address_ex()
551 *portno = atoi(colon + 1); in parse_ip_address_ex()
563 static inline char *parse_ip_address(php_stream_xport_param *xparam, int *portno TSRMLS_DC) in parse_ip_address()
565 …return parse_ip_address_ex(xparam->inputs.name, xparam->inputs.namelen, portno, xparam->want_error… in parse_ip_address()
572 int portno, err; in php_tcp_sockop_bind() local
596 host = parse_ip_address(xparam, &portno TSRMLS_CC); in php_tcp_sockop_bind()
602 sock->socket = php_network_bind_socket_to_local_addr(host, portno, in php_tcp_sockop_bind()
619 int portno, bindport = 0; in php_tcp_sockop_connect() local
651 host = parse_ip_address(xparam, &portno TSRMLS_CC); in php_tcp_sockop_connect()
[all …]
/PHP-5.4/ext/standard/
H A Dftp_fopen_wrapper.c326 unsigned short portno; in php_fopen_do_pasv() local
369 portno = (unsigned short) strtoul(tpath, &ttpath, 10) * 256; in php_fopen_do_pasv()
380 portno += (unsigned short) strtoul(tpath, &ttpath, 10); in php_fopen_do_pasv()
395 portno = (unsigned short) strtoul(tpath + 1, &ttpath, 10); in php_fopen_do_pasv()
407 return portno; in php_fopen_do_pasv()
419 unsigned short portno; in php_stream_url_wrap_ftp() local
519 portno = php_fopen_do_pasv(stream, ip, sizeof(ip), &hoststart TSRMLS_CC); in php_stream_url_wrap_ftp()
521 if (!portno) { in php_stream_url_wrap_ftp()
702 unsigned short portno; in php_stream_ftp_opendir() local
718 portno = php_fopen_do_pasv(stream, ip, sizeof(ip), &hoststart TSRMLS_CC); in php_stream_ftp_opendir()
[all …]

Completed in 9 milliseconds