Searched refs:addrinfo (Results 1 – 10 of 10) sorted by relevance
/php-src/ext/sockets/ |
H A D | sockaddr_conv.c | 20 struct addrinfo hints; in php_set_inet6_addr() 21 struct addrinfo *addrinfo = NULL; in php_set_inet6_addr() local 30 memset(&hints, 0, sizeof(struct addrinfo)); in php_set_inet6_addr() 37 getaddrinfo(string, NULL, &hints, &addrinfo); in php_set_inet6_addr() 38 if (!addrinfo) { in php_set_inet6_addr() 46 if (addrinfo->ai_family != PF_INET6 || addrinfo->ai_addrlen != sizeof(struct sockaddr_in6)) { in php_set_inet6_addr() 48 freeaddrinfo(addrinfo); in php_set_inet6_addr() 52 …memcpy(&(sin6->sin6_addr.s6_addr), ((struct sockaddr_in6*)(addrinfo->ai_addr))->sin6_addr.s6_addr,… in php_set_inet6_addr() 53 freeaddrinfo(addrinfo); in php_set_inet6_addr()
|
H A D | sockets.c | 154 struct addrinfo addrinfo; member 186 efree(address_info->addrinfo.ai_canonname); in address_info_free_obj() 188 efree(address_info->addrinfo.ai_addr); in address_info_free_obj() 2535 struct addrinfo hints, *result, *rp; 2580 memcpy(&res->addrinfo, rp, sizeof(struct addrinfo)); 2614 …php_sock->bsd_socket = socket(ai->addrinfo.ai_family, ai->addrinfo.ai_socktype, ai->addrinfo.ai_pr… 2615 php_sock->type = ai->addrinfo.ai_family; 2641 retval = bind(php_sock->bsd_socket, ai->addrinfo.ai_addr, ai->addrinfo.ai_addrlen); 2677 …php_sock->bsd_socket = socket(ai->addrinfo.ai_family, ai->addrinfo.ai_socktype, ai->addrinfo.ai_pr… 2704 retval = connect(php_sock->bsd_socket, ai->addrinfo.ai_addr, ai->addrinfo.ai_addrlen); [all …]
|
/php-src/ext/sockets/tests/ |
H A D | socket_addrinfo_bind.phpt | 7 $addrinfo = socket_addrinfo_lookup('127.0.0.1', 2000, array( 11 var_dump(socket_addrinfo_bind($addrinfo[0]));
|
H A D | socket_addrinfo_connect.phpt | 7 $addrinfo = socket_addrinfo_lookup('127.0.0.1', 2000, array( 11 var_dump(socket_addrinfo_connect($addrinfo[0]));
|
H A D | socket_addrinfo_lookup.phpt | 8 $addrinfo = socket_addrinfo_lookup('127.0.0.1', 2000, array( 13 var_dump($addrinfo[0]);
|
H A D | socket_addrinfo_explain.phpt | 7 $addrinfo = socket_addrinfo_lookup('127.0.0.1', 2000, array( 11 $result = socket_addrinfo_explain($addrinfo[0]);
|
/php-src/sapi/fpm/fpm/ |
H A D | fpm_sockets.c | 307 struct addrinfo hints, *servinfo, *p; in fpm_socket_af_inet_socket_by_addr()
|
/php-src/main/ |
H A D | network.c | 156 struct addrinfo hints, *res, *sai; in php_network_getaddresses()
|
/php-src/ |
H A D | configure.ac | 614 [struct addrinfo *g,h;g=&h;getaddrinfo("","",g,&g);])], 624 struct addrinfo *ai, *pai, hints;
|
/php-src/sapi/litespeed/ |
H A D | lsapilib.c | 2638 struct addrinfo *res, hints; in LSAPI_ParseSockAddr()
|
Completed in 32 milliseconds