Lines Matching refs:peername
159 PHP_SNMP_SESSION_FREE(peername); in netsnmp_session_free()
608 php_snmp_error(getThis(), PHP_SNMP_ERRNO_TIMEOUT, "No response from %s", session->peername); in php_snmp_internal()
854 session->peername = emalloc(MAX_NAME_LEN); in netsnmp_session_init()
856 strlcpy(session->peername, ZSTR_VAL(hostname), MAX_NAME_LEN); in netsnmp_session_init()
857 host_ptr = session->peername; in netsnmp_session_init()
887 *(session->peername) = '\0'; in netsnmp_session_init()
890 pptr = session->peername; in netsnmp_session_init()
897 strcpy(session->peername, "udp6:["); in netsnmp_session_init()
898 pptr = session->peername + strlen(session->peername); in netsnmp_session_init()
911 if (strlen(session->peername) == 0) { in netsnmp_session_init()
921 size_t peername_length = strlen(session->peername); in netsnmp_session_init()
922 pptr = session->peername + peername_length; in netsnmp_session_init()
1878 ZVAL_STRINGL(&val, snmp_object->session->peername, strlen(snmp_object->session->peername)); in php_snmp_read_info()