Searched refs:addrinfo (Results 1 – 12 of 12) sorted by relevance
/PHP-7.2/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 | 457 struct addrinfo *addr = rsrc->ptr; in php_destroy_addrinfo() 2549 struct addrinfo hints, *result, *rp, *res; 2583 res = emalloc(sizeof(struct addrinfo)); 2584 memcpy(res, rp, sizeof(struct addrinfo)); 2607 struct addrinfo *ai; 2614 …if ((ai = (struct addrinfo *) zend_fetch_resource(Z_RES_P(arg1), le_addrinfo_name, le_addrinfo)) =… 2673 struct addrinfo *ai; 2680 …if ((ai = (struct addrinfo *) zend_fetch_resource(Z_RES_P(arg1), le_addrinfo_name, le_addrinfo)) =… 2738 struct addrinfo *ai; 2744 …if ((ai = (struct addrinfo *) zend_fetch_resource(Z_RES_P(arg1), le_addrinfo_name, le_addrinfo)) =…
|
/PHP-7.2/ext/sockets/tests/ |
H A D | socket_addrinfo_bind.phpt | 10 $addrinfo = socket_addrinfo_lookup('127.0.0.1', 2000, array( 14 var_dump(socket_addrinfo_bind($addrinfo[0]));
|
H A D | socket_addrinfo_connect.phpt | 10 $addrinfo = socket_addrinfo_lookup('127.0.0.1', 2000, array( 14 var_dump(socket_addrinfo_connect($addrinfo[0]));
|
H A D | socket_addrinfo_explain.phpt | 10 $addrinfo = socket_addrinfo_lookup('127.0.0.1', 2000, array( 14 var_dump(socket_addrinfo_explain($addrinfo[0]));
|
H A D | socket_addrinfo_lookup.phpt | 10 $addrinfo = socket_addrinfo_lookup('127.0.0.1', 2000, array( 15 var_dump($addrinfo[0]);
|
/PHP-7.2/sapi/phpdbg/ |
H A D | phpdbg_io.h | 36 …I int phpdbg_create_listenable_socket(const char *addr, unsigned short port, struct addrinfo *res);
|
H A D | phpdbg_io.c | 239 struct addrinfo res; 257 …phpdbg_create_listenable_socket(const char *addr, unsigned short port, struct addrinfo *addr_res) { 261 struct addrinfo hints, *res = NULL;
|
/PHP-7.2/sapi/fpm/fpm/ |
H A D | fpm_sockets.c | 273 struct addrinfo hints, *servinfo, *p; in fpm_socket_af_inet_socket_by_addr()
|
/PHP-7.2/main/ |
H A D | network.c | 167 struct addrinfo hints, *res, *sai; in php_network_getaddresses()
|
/PHP-7.2/ |
H A D | configure.ac | 691 [struct addrinfo *g,h;g=&h;getaddrinfo("","",g,&g);], 699 struct addrinfo *ai, *pai, hints;
|
/PHP-7.2/sapi/litespeed/ |
H A D | lsapilib.c | 2615 struct addrinfo *res, hints; in LSAPI_ParseSockAddr()
|
Completed in 53 milliseconds