Lines Matching refs:response

552 	struct snmp_pdu *pdu=NULL, *response;  in php_snmp_internal()
640 status = snmp_synch_response(ss, pdu, &response); in php_snmp_internal()
642 if (response->errstat == SNMP_ERR_NOERROR) { in php_snmp_internal()
643 for (vars = response->variables; vars; vars = vars->next_variable) { in php_snmp_internal()
658 snmp_free_pdu(response); in php_snmp_internal()
664 snmp_free_pdu(response); in php_snmp_internal()
692 …if ((st != SNMP_CMD_WALK && st != SNMP_CMD_REALWALK) || response->errstat != SNMP_ERR_NOSUCHNAME) { in php_snmp_internal()
693 …php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error in packet: %s", snmp_errstring(response->errsta… in php_snmp_internal()
694 if (response->errstat == SNMP_ERR_NOSUCHNAME) { in php_snmp_internal()
695 for (count=1, vars = response->variables; vars && count != response->errindex; in php_snmp_internal()
707 if ((pdu = snmp_fix_pdu(response, SNMP_MSG_GET)) != NULL) { in php_snmp_internal()
708 snmp_free_pdu(response); in php_snmp_internal()
712 if ((pdu = snmp_fix_pdu(response, SNMP_MSG_SET)) != NULL) { in php_snmp_internal()
713 snmp_free_pdu(response); in php_snmp_internal()
717 if ((pdu = snmp_fix_pdu(response, SNMP_MSG_GETNEXT)) != NULL) { in php_snmp_internal()
718 snmp_free_pdu(response); in php_snmp_internal()
722 if ((pdu = snmp_fix_pdu(response, ((session->version == SNMP_VERSION_1) in php_snmp_internal()
725 snmp_free_pdu(response); in php_snmp_internal()
729 snmp_free_pdu(response); in php_snmp_internal()
752 if (response) { in php_snmp_internal()
753 snmp_free_pdu(response); in php_snmp_internal()