Home
last modified time | relevance | path

Searched refs:host_ptr (Results 1 – 1 of 1) sorted by relevance

/PHP-8.4/ext/snmp/
H A Dsnmp.c798 char *pptr, *host_ptr; in netsnmp_session_init() local
817 host_ptr = session->peername; in netsnmp_session_init()
820 if (*host_ptr == '[') { /* IPv6 address */ in netsnmp_session_init()
822 host_ptr++; in netsnmp_session_init()
823 if ((pptr = strchr(host_ptr, ']'))) { in netsnmp_session_init()
833 if ((pptr = strchr(host_ptr, ':'))) { in netsnmp_session_init()
841 …if ((n = php_network_getaddresses(host_ptr, SOCK_DGRAM, &psal, NULL)) == 0) { /* some resolver err… in netsnmp_session_init()

Completed in 10 milliseconds