Home
last modified time | relevance | path

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

/PHP-7.2/ext/snmp/
H A Dsnmp.c1082 char *pptr, *host_ptr; in netsnmp_session_init() local
1100 host_ptr = session->peername; in netsnmp_session_init()
1103 if (*host_ptr == '[') { /* IPv6 address */ in netsnmp_session_init()
1105 host_ptr++; in netsnmp_session_init()
1106 if ((pptr = strchr(host_ptr, ']'))) { in netsnmp_session_init()
1116 if ((pptr = strchr(host_ptr, ':'))) { in netsnmp_session_init()
1124 …if ((n = php_network_getaddresses(host_ptr, SOCK_DGRAM, &psal, NULL)) == 0) { /* some resolver err… in netsnmp_session_init()

Completed in 10 milliseconds