Lines Matching refs:peername
449 PHP_SNMP_SESSION_FREE(peername); in netsnmp_session_free()
922 … php_snmp_error(getThis(), NULL, PHP_SNMP_ERRNO_TIMEOUT, "No response from %s", session->peername); in php_snmp_internal()
1128 session->peername = emalloc(MAX_NAME_LEN); in netsnmp_session_init()
1129 if (session->peername == NULL) { in netsnmp_session_init()
1134 strlcpy(session->peername, hostname, MAX_NAME_LEN); in netsnmp_session_init()
1135 host_ptr = session->peername; in netsnmp_session_init()
1165 *(session->peername) = '\0'; in netsnmp_session_init()
1168 pptr = session->peername; in netsnmp_session_init()
1175 strcpy(session->peername, "udp6:["); in netsnmp_session_init()
1176 pptr = session->peername + strlen(session->peername); in netsnmp_session_init()
1195 if (strlen(session->peername) == 0) { in netsnmp_session_init()
1205 pptr = session->peername + strlen(session->peername); in netsnmp_session_init()
2108 ZVAL_STRINGL(&val, snmp_object->session->peername, strlen(snmp_object->session->peername)); in php_snmp_read_info()