Searched refs:addrinfo (Results 1 – 13 of 13) sorted by relevance
/PHP-7.4/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 | 490 struct addrinfo *addr = rsrc->ptr; in php_destroy_addrinfo() 2573 struct addrinfo hints, *result, *rp, *res; 2614 res = emalloc(sizeof(struct addrinfo)); 2615 memcpy(res, rp, sizeof(struct addrinfo)); 2638 struct addrinfo *ai; 2645 …if ((ai = (struct addrinfo *) zend_fetch_resource(Z_RES_P(arg1), le_addrinfo_name, le_addrinfo)) =… 2704 struct addrinfo *ai; 2711 …if ((ai = (struct addrinfo *) zend_fetch_resource(Z_RES_P(arg1), le_addrinfo_name, le_addrinfo)) =… 2769 struct addrinfo *ai; 2775 …if ((ai = (struct addrinfo *) zend_fetch_resource(Z_RES_P(arg1), le_addrinfo_name, le_addrinfo)) =…
|
/PHP-7.4/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_lookup.phpt | 10 $addrinfo = socket_addrinfo_lookup('127.0.0.1', 2000, array( 15 var_dump($addrinfo[0]);
|
H A D | ai_idn_deprecation.phpt | 10 $addrinfo = socket_addrinfo_lookup('127.0.0.1', 2000, array( 15 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 $result = socket_addrinfo_explain($addrinfo[0]);
|
/PHP-7.4/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.4/sapi/fpm/fpm/ |
H A D | fpm_sockets.c | 280 struct addrinfo hints, *servinfo, *p; in fpm_socket_af_inet_socket_by_addr()
|
/PHP-7.4/main/ |
H A D | network.c | 166 struct addrinfo hints, *res, *sai; in php_network_getaddresses()
|
/PHP-7.4/ |
H A D | configure.ac | 664 [[struct addrinfo *g,h;g=&h;getaddrinfo("","",g,&g);]])],[AC_RUN_IFELSE([AC_LANG_SOURCE([[ 672 struct addrinfo *ai, *pai, hints;
|
/PHP-7.4/sapi/litespeed/ |
H A D | lsapilib.c | 2624 struct addrinfo *res, hints; in LSAPI_ParseSockAddr()
|
Completed in 37 milliseconds