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

/PHP_5_6/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_6/main/
H A Dphp_variables.c62 char *ip = NULL; /* index pointer */ local
102 ip = p;
153 ip++;
154 index_s = ip;
155 if (isspace(*ip)) {
156 ip++;
158 if (*ip==']') {
161 ip = strchr(ip, ']');
162 if (!ip) {
[all...]
/PHP_5_6/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_6/ext/standard/
H A Dftp_fopen_wrapper.c323 static unsigned short php_fopen_do_pasv(php_stream *stream, char *ip, size_t ip_size, char **phoststart TSRMLS_DC) argument
354 /* skip over the host ip, to get the port */
365 memcpy(ip, hoststart, ip_size);
366 ip[ip_size-1] = '\0';
367 hoststart = ip;
420 char ip[sizeof("123.123.123.123")]; local
521 portno = php_fopen_do_pasv(stream, ip, sizeof(ip), &hoststart TSRMLS_CC);
703 char ip[sizeof("123.123.123.123")]; local
720 portno = php_fopen_do_pasv(stream, ip, sizeo
[all...]
H A Dbasic_functions.c3913 struct in_addr ip; local
3915 unsigned long int ip; local
3923 if (addr_len == 0 || inet_pton(AF_INET, addr, &ip) != 1) {
3926 RETURN_LONG(ntohl(ip.s_addr));
3928 if (addr_len == 0 || (ip = inet_addr(addr)) == INADDR_NONE) {
3939 RETURN_LONG(ntohl(ip));
3949 char *ip; local
3957 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &ip, &ip_len) == FAILURE) {
3961 n = strtoul(ip, NULL, 0);
4641 2 = send via tcp/ip t
[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);
475 add_assoc_string(*subarray, "ip", name, 1);
/PHP_5_6/sapi/fpm/fpm/
H A Dfastcgi.c247 void fcgi_set_allowed_clients(char *ip) argument
252 if (ip) {
253 ip = strdup(ip);
254 cur = ip;
263 cur = ip;
282 free(ip);

Completed in 23 milliseconds