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

/PHP_TRUNK/sapi/cgi/
H A Dfastcgi.c685 char *ip = getenv("FCGI_WEB_SERVER_ADDRS"); local
689 if (ip) {
690 ip = strdup(ip);
691 cur = ip;
699 cur = ip;
714 free(ip);
/PHP_TRUNK/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_TRUNK/ext/standard/
H A Ddns.c123 static zend_string *php_gethostbyaddr(char *ip);
179 static zend_string *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 zend_string_init(ip, strlen(ip), 0);
473 add_assoc_string(subarray, "ip", name);
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);
695 char ip[sizeof("123.123.123.123")]; local
712 portno = php_fopen_do_pasv(stream, ip, sizeo
[all...]
H A Dbasic_functions.c3917 struct in_addr ip; local
3919 zend_ulong ip; local
3927 if (addr_len == 0 || inet_pton(AF_INET, addr, &ip) != 1) {
3930 RETURN_LONG(ntohl(ip.s_addr));
3932 if (addr_len == 0 || (ip = inet_addr(addr)) == INADDR_NONE) {
3943 RETURN_LONG(ntohl(ip));
3953 char *ip; local
3961 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &ip, &ip_len) == FAILURE) {
3965 n = strtoul(ip, NULL, 0);
4621 2 = send via tcp/ip t
[all...]
/PHP_TRUNK/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...]
/PHP_TRUNK/ext/filter/
H A Dlogical_filters.c569 static int _php_filter_validate_ipv4(char *str, size_t str_len, int *ip) /* {{{ */ argument
593 ip[n++] = num;
690 int ip[4]; local
711 if (!_php_filter_validate_ipv4(Z_STRVAL_P(value), Z_STRLEN_P(value), ip)) {
718 (ip[0] == 10) ||
719 (ip[0] == 172 && (ip[1] >= 16 && ip[1] <= 31)) ||
720 (ip[0] == 192 && ip[
[all...]

Completed in 20 milliseconds