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

/PHP_5_4/sapi/fpm/fpm/
H A Dfpm_sockets.c49 hints.ai_family = AF_INET;
290 sa_in.sin_family = AF_INET;
H A Dfastcgi.c812 if (sa.sa.sa_family == AF_INET && req->fd >= 0 && allowed_clients) {
/PHP_5_4/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_4/ext/snmp/
H A Dsnmp.c1200 } else if ((*res)->sa_family == AF_INET) {
1207 if ((*res)->sa_family != AF_INET) {
/PHP_5_4/ext/sockets/
H A Dmulticast.c166 if (sock->type == AF_INET) {
231 if (sock->type == AF_INET) {
404 inet_ntop(AF_INET, addr, addr_str, sizeof(addr_str));
503 if ((((struct sockaddr*)&cur_req->ifr_addr)->sa_family == AF_INET) &&
533 inet_ntop(AF_INET, addr, addr_str, sizeof(addr_str));
H A Dsockets.c112 #define PF_INET AF_INET
676 /* Sets addr by hostname, or by ip in string form (AF_INET) */
694 if (host_entry->h_addrtype != AF_INET) {
695 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Host lookup failed: Non AF_INET domain returned on AF_INET socket");
705 /* Sets addr by hostname or by ip in string form (AF_INET or AF_INET6,
709 if (php_sock->type == AF_INET) {
713 ss->ss_family = AF_INET;
831 REGISTER_LONG_CONSTANT("AF_INET", AF_INET, CONST_C
[all...]
/PHP_5_4/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_4/sapi/cgi/
H A Dfastcgi.c603 sa.sa_inet.sin_family = AF_INET;
615 if (!hep || hep->h_addrtype != AF_INET || !hep->h_addr_list[0]) {
1183 if (((struct sockaddr *)&sa)->sa_family == AF_INET) {
/PHP_5_4/ext/ftp/
H A Dftp.c781 sin->sin_family = AF_INET;
/PHP_5_4/ext/standard/
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);
H A Dfile.c236 #elif defined(AF_INET)
237 REGISTER_LONG_CONSTANT("STREAM_PF_INET", AF_INET, CONST_CS|CONST_PERSISTENT);
H A Dbasic_functions.c3822 int address_len, af = AF_INET;
3854 int ret, af = AF_INET;
3882 RETURN_STRINGL(buffer, af == AF_INET ? 4 : 16, 1);
3904 if (addr_len == 0 || inet_pton(AF_INET, addr, &ip) != 1) {
3946 if (inet_ntop(AF_INET, &myaddr, str, sizeof(str))) {
/PHP_5_4/sapi/cli/
H A Dphp_cli_server.c1193 case AF_INET:
1242 case AF_INET:
/PHP_5_4/sapi/litespeed/
H A Dlsapilib.c1302 if (((struct sockaddr *)&achPeer)->sa_family == AF_INET )
2227 case AF_INET:
2308 pAddr->sa_family = AF_INET;
2355 if ( pAddr->sa_family == AF_INET )
2467 if (((struct sockaddr *)&achPeer)->sa_family == AF_INET )

Completed in 51 milliseconds