Searched refs:AF_INET (Results 1 - 13 of 13) sorted by relevance

/PHP_5_3/win32/
H A Dinet.c18 case AF_INET:
32 case AF_INET:
56 case AF_INET:
H A Dsendmail.c796 if (inet_pton(AF_INET, ent->h_name, &addr) == 1 || inet_pton(AF_INET6, ent->h_name, &addr6) == 1)
798 if (inet_pton(AF_INET, ent->h_name, &addr) == 1)
830 sock_in.sin_family = AF_INET;
H A Dsockets.c37 if(domain != AF_INET) {
51 address.sin_family = AF_INET;
/PHP_5_3/ext/ftp/
H A Dftp.c771 sin->sin_family = AF_INET;
/PHP_5_3/ext/sockets/
H A Dsockets.c100 #define PF_INET AF_INET
579 /* Sets addr by hostname, or by ip in string form (AF_INET) */
597 if (host_entry->h_addrtype != AF_INET) {
598 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Host lookup failed: Non AF_INET domain returned on AF_INET socket");
625 REGISTER_LONG_CONSTANT("AF_INET", AF_INET, CONST_CS | CONST_PERSISTENT);
1124 case AF_INET:
1202 case AF_INET:
1251 && arg1 != AF_INET) {
[all...]
/PHP_5_3/ext/standard/
H A Dbasic_functions.c3850 int address_len, af = AF_INET;
3882 int ret, af = AF_INET;
3910 RETURN_STRINGL(buffer, af == AF_INET ? 4 : 16, 1);
3932 if (addr_len == 0 || inet_pton(AF_INET, addr, &ip) != 1) {
3974 if (inet_ntop(AF_INET, &myaddr, str, sizeof(str))) {
H A Dfile.c237 #elif defined(AF_INET)
238 REGISTER_LONG_CONSTANT("STREAM_PF_INET", AF_INET, CONST_CS|CONST_PERSISTENT);
H A Ddns.c62 #define AF_INET 2 /* internetwork: UDP, TCP, etc. */ macro
190 } else if (inet_pton(AF_INET, ip, &addr)) {
191 hp = gethostbyaddr((char *) &addr, sizeof(addr), AF_INET);
202 hp = gethostbyaddr((char *) &addr, sizeof(addr), AF_INET);
/PHP_5_3/main/
H A Dnetwork.c186 hints.ai_family = AF_INET; /* default to regular inet (see below) */
207 hints.ai_family = ipv6_borked ? AF_INET : AF_UNSPEC;
262 (*sap)->sa_family = AF_INET;
449 case AF_INET:
543 in4->sin_family = AF_INET;
570 case AF_INET:
609 case AF_INET:
817 case AF_INET:
835 if (sa->sa_family == AF_INET) {
943 case AF_INET
[all...]
/PHP_5_3/sapi/cgi/
H A Dfastcgi.c379 sa.sa_inet.sin_family = AF_INET;
391 if (!hep || hep->h_addrtype != AF_INET || !hep->h_addr_list[0]) {
/PHP_5_3/sapi/fpm/fpm/
H A Dfastcgi.c811 if (sa.sa.sa_family == AF_INET && req->fd >= 0 && allowed_clients) {
H A Dfpm_sockets.c49 hints.ai_family = AF_INET;
290 sa_in.sin_family = AF_INET;
/PHP_5_3/sapi/litespeed/
H A Dlsapilib.c682 if (((struct sockaddr *)&achPeer)->sa_family == AF_INET ) {
1404 case AF_INET:
1485 pAddr->sa_family = AF_INET;
1531 if ( pAddr->sa_family == AF_INET ) {
1639 if (((struct sockaddr *)&achPeer)->sa_family == AF_INET ) {

Completed in 44 milliseconds