Searched defs:ip (Results 1 - 7 of 7) sorted by relevance

/PHP_5_4/ext/standard/
H A Dftp_fopen_wrapper.c322 static unsigned short php_fopen_do_pasv(php_stream *stream, char *ip, size_t ip_size, char **phoststart TSRMLS_DC) argument
353 /* skip over the host ip, to get the port */
364 memcpy(ip, hoststart, ip_size);
365 ip[ip_size-1] = '\0';
366 hoststart = ip;
418 char ip[sizeof("123.123.123.123")]; local
519 portno = php_fopen_do_pasv(stream, ip, sizeof(ip), &hoststart TSRMLS_CC);
701 char ip[sizeof("123.123.123.123")]; local
718 portno = php_fopen_do_pasv(stream, ip, sizeo
[all...]
H A Ddns.c123 static char *php_gethostbyaddr(char *ip);
179 static char *php_gethostbyaddr(char *ip) argument
188 if (inet_pton(AF_INET6, ip, &addr6)) {
190 } else if (inet_pton(AF_INET, ip, &addr)) {
196 addr.s_addr = inet_addr(ip);
206 return estrdup(ip);
466 add_assoc_string(*subarray, "ip", name, 1);
H A Dbasic_functions.c3894 struct in_addr ip; local
3896 unsigned long int ip; local
3904 if (addr_len == 0 || inet_pton(AF_INET, addr, &ip) != 1) {
3907 RETURN_LONG(ntohl(ip.s_addr));
3909 if (addr_len == 0 || (ip = inet_addr(addr)) == INADDR_NONE) {
3920 RETURN_LONG(ntohl(ip));
3930 char *ip; local
3938 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &ip, &ip_len) == FAILURE) {
3942 n = strtoul(ip, NULL, 0);
4618 2 = send via tcp/ip t
[all...]
/PHP_5_4/sapi/cgi/
H A Dfastcgi.c686 char *ip = getenv("FCGI_WEB_SERVER_ADDRS"); local
690 if (ip) {
691 ip = strdup(ip);
692 cur = ip;
700 cur = ip;
715 free(ip);
/PHP_5_4/sapi/fpm/fpm/
H A Dfastcgi.c246 void fcgi_set_allowed_clients(char *ip) argument
251 if (ip) {
252 ip = strdup(ip);
253 cur = ip;
262 cur = ip;
277 free(ip);
/PHP_5_4/ext/filter/
H A Dlogical_filters.c557 static int _php_filter_validate_ipv4(char *str, int str_len, int *ip) /* {{{ */ argument
581 ip[n++] = num;
678 int ip[4]; local
699 if (!_php_filter_validate_ipv4(Z_STRVAL_P(value), Z_STRLEN_P(value), ip)) {
706 (ip[0] == 10) ||
707 (ip[0] == 172 && (ip[1] >= 16 && ip[1] <= 31)) ||
708 (ip[0] == 192 && ip[
[all...]
/PHP_5_4/main/
H A Dphp_variables.c59 char *ip = NULL; /* index pointer */ local
99 ip = p;
150 ip++;
151 index_s = ip;
152 if (isspace(*ip)) {
153 ip++;
155 if (*ip==']') {
158 ip = strchr(ip, ']');
159 if (!ip) {
[all...]

Completed in 18 milliseconds