Lines Matching refs:peername
175 PHP_SNMP_SESSION_FREE(peername); in netsnmp_session_free()
632 php_snmp_error(getThis(), PHP_SNMP_ERRNO_TIMEOUT, "No response from %s", session->peername); in php_snmp_internal()
820 session->peername = emalloc(MAX_NAME_LEN); in netsnmp_session_init()
822 strlcpy(session->peername, hostname, MAX_NAME_LEN); in netsnmp_session_init()
823 host_ptr = session->peername; in netsnmp_session_init()
853 *(session->peername) = '\0'; in netsnmp_session_init()
856 pptr = session->peername; in netsnmp_session_init()
863 strcpy(session->peername, "udp6:["); in netsnmp_session_init()
864 pptr = session->peername + strlen(session->peername); in netsnmp_session_init()
883 if (strlen(session->peername) == 0) { in netsnmp_session_init()
893 pptr = session->peername + strlen(session->peername); in netsnmp_session_init()
1806 ZVAL_STRINGL(&val, snmp_object->session->peername, strlen(snmp_object->session->peername)); in php_snmp_read_info()