Lines Matching refs:peername
174 PHP_SNMP_SESSION_FREE(peername); in netsnmp_session_free()
625 php_snmp_error(getThis(), PHP_SNMP_ERRNO_TIMEOUT, "No response from %s", session->peername); in php_snmp_internal()
811 session->peername = emalloc(MAX_NAME_LEN); in netsnmp_session_init()
813 strlcpy(session->peername, ZSTR_VAL(hostname), MAX_NAME_LEN); in netsnmp_session_init()
814 host_ptr = session->peername; in netsnmp_session_init()
844 *(session->peername) = '\0'; in netsnmp_session_init()
847 pptr = session->peername; in netsnmp_session_init()
854 strcpy(session->peername, "udp6:["); in netsnmp_session_init()
855 pptr = session->peername + strlen(session->peername); in netsnmp_session_init()
874 if (strlen(session->peername) == 0) { in netsnmp_session_init()
884 pptr = session->peername + strlen(session->peername); in netsnmp_session_init()
1836 ZVAL_STRINGL(&val, snmp_object->session->peername, strlen(snmp_object->session->peername)); in php_snmp_read_info()