• Home
  • Raw
  • Download

Lines Matching refs:error_status

290       if (request.error_status == SNMP_ERR_NOERROR) {  in snmp_receive()
311 switch (request.error_status) { in snmp_receive()
355 request.error_status = SNMP_ERR_NOERROR; in snmp_receive()
370 && (request.error_status == SNMP_ERR_NOERROR) in snmp_receive()
411 …request->error_status = snmp_get_next_node_instance_from_oid(vb->oid.id, vb->oid.len, snmp_msg_get… in snmp_process_varbind()
413 if (request->error_status == SNMP_ERR_NOERROR) { in snmp_process_varbind()
417 … request->error_status = snmp_get_node_instance_from_oid(vb->oid.id, vb->oid.len, &node_instance); in snmp_process_varbind()
419 if (request->error_status == SNMP_ERR_NOERROR) { in snmp_process_varbind()
421 request->error_status = snmp_msg_getnext_validate_node_inst(&node_instance, request); in snmp_process_varbind()
423 if (request->error_status != SNMP_ERR_NOERROR) { in snmp_process_varbind()
431 if (request->error_status != SNMP_ERR_NOERROR) { in snmp_process_varbind()
432 if (request->error_status >= SNMP_VARBIND_EXCEPTION_OFFSET) { in snmp_process_varbind()
435 …SNMP_ASN1_CONTENTTYPE_PRIMITIVE | SNMP_ASN1_CLASS_CONTEXT | (request->error_status & SNMP_VARBIND_… in snmp_process_varbind()
441 request->error_status = SNMP_ERR_NOERROR; in snmp_process_varbind()
443 request->error_status = SNMP_ERR_TOOBIG; in snmp_process_varbind()
445 request->error_status = SNMP_ERR_GENERROR; in snmp_process_varbind()
450 request->error_status = SNMP_ERR_GENERROR; in snmp_process_varbind()
463 request->error_status = SNMP_ERR_TOOBIG; in snmp_process_varbind()
465 request->error_status = SNMP_ERR_GENERROR; in snmp_process_varbind()
468 request->error_status = SNMP_ERR_GENERROR; in snmp_process_varbind()
492 while (request->error_status == SNMP_ERR_NOERROR) { in snmp_process_get_request()
498 request->error_status = SNMP_ERR_GENERROR; in snmp_process_get_request()
507 request->error_status = SNMP_ERR_GENERROR; in snmp_process_get_request()
528 while (request->error_status == SNMP_ERR_NOERROR) { in snmp_process_getnext_request()
534 request->error_status = SNMP_ERR_GENERROR; in snmp_process_getnext_request()
543 request->error_status = SNMP_ERR_GENERROR; in snmp_process_getnext_request()
575 while (request->error_status == SNMP_ERR_NOERROR) { in snmp_process_getbulk_request()
594 request->error_status = SNMP_ERR_GENERROR; in snmp_process_getbulk_request()
602 …while ((request->error_status == SNMP_ERR_NOERROR) && (repetitions > 0) && (request->outbound_pbuf… in snmp_process_getbulk_request()
609 while (request->error_status == SNMP_ERR_NOERROR) { in snmp_process_getbulk_request()
616 if (request->error_status != SNMP_ERR_NOERROR) { in snmp_process_getbulk_request()
627 request->error_status = SNMP_ERR_GENERROR; in snmp_process_getbulk_request()
632 if ((request->error_status == SNMP_ERR_NOERROR) && all_endofmibview) { in snmp_process_getbulk_request()
640 if (request->error_status == SNMP_ERR_TOOBIG) { in snmp_process_getbulk_request()
642 request->error_status = SNMP_ERR_NOERROR; in snmp_process_getbulk_request()
663 while (request->error_status == SNMP_ERR_NOERROR) { in snmp_process_set_request()
669 … request->error_status = snmp_get_node_instance_from_oid(vb.oid.id, vb.oid.len, &node_instance); in snmp_process_set_request()
670 if (request->error_status == SNMP_ERR_NOERROR) { in snmp_process_set_request()
672 request->error_status = SNMP_ERR_WRONGTYPE; in snmp_process_set_request()
674 request->error_status = SNMP_ERR_NOTWRITABLE; in snmp_process_set_request()
677 request->error_status = node_instance.set_test(&node_instance, vb.value_len, vb.value); in snmp_process_set_request()
689 request->error_status = SNMP_ERR_WRONGLENGTH; in snmp_process_set_request()
694 request->error_status = SNMP_ERR_GENERROR; in snmp_process_set_request()
699 if (request->error_status == SNMP_ERR_NOERROR) { in snmp_process_set_request()
701 while (request->error_status == SNMP_ERR_NOERROR) { in snmp_process_set_request()
706 … request->error_status = snmp_get_node_instance_from_oid(vb.oid.id, vb.oid.len, &node_instance); in snmp_process_set_request()
707 if (request->error_status == SNMP_ERR_NOERROR) { in snmp_process_set_request()
710 request->error_status = SNMP_ERR_COMMITFAILED; in snmp_process_set_request()
713 request->error_status = SNMP_ERR_UNDOFAILED; in snmp_process_set_request()
726 request->error_status = SNMP_ERR_GENERROR; in snmp_process_set_request()
957 request->error_status = SNMP_ERR_UNKNOWN_ENGINEID; in snmp_parse_inbound_frame()
966 request->error_status = SNMP_ERR_UNKNOWN_SECURITYNAME; in snmp_parse_inbound_frame()
977 request->error_status = SNMP_ERR_UNSUPPORTED_SECLEVEL; in snmp_parse_inbound_frame()
987 request->error_status = SNMP_ERR_UNSUPPORTED_SECLEVEL; in snmp_parse_inbound_frame()
996 request->error_status = SNMP_ERR_UNSUPPORTED_SECLEVEL; in snmp_parse_inbound_frame()
1004 request->error_status = SNMP_ERR_UNSUPPORTED_SECLEVEL; in snmp_parse_inbound_frame()
1019 request->error_status = SNMP_ERR_AUTHORIZATIONERROR; in snmp_parse_inbound_frame()
1038 request->error_status = SNMP_ERR_AUTHORIZATIONERROR; in snmp_parse_inbound_frame()
1048 request->error_status = SNMP_ERR_NOTINTIMEWINDOW; in snmp_parse_inbound_frame()
1057 request->error_status = SNMP_ERR_NOTINTIMEWINDOW; in snmp_parse_inbound_frame()
1063 request->error_status = SNMP_ERR_NOTINTIMEWINDOW; in snmp_parse_inbound_frame()
1089 request->error_status = SNMP_ERR_DECRYIPTION_ERROR; in snmp_parse_inbound_frame()
1194 request->error_status = SNMP_ERR_NOTWRITABLE; in snmp_parse_inbound_frame()
1609 if (request->error_status != SNMP_ERR_NOERROR) { in snmp_complete_outbound_frame()
1611 switch (request->error_status) { in snmp_complete_outbound_frame()
1618 request->error_status = SNMP_ERR_NOSUCHNAME; in snmp_complete_outbound_frame()
1626 request->error_status = SNMP_ERR_BADVALUE; in snmp_complete_outbound_frame()
1633 request->error_status = SNMP_ERR_NOSUCHNAME; in snmp_complete_outbound_frame()
1639 request->error_status = SNMP_ERR_GENERROR; in snmp_complete_outbound_frame()
1646 switch (request->error_status) { in snmp_complete_outbound_frame()
1650 request->error_status = SNMP_ERR_NOTWRITABLE; in snmp_complete_outbound_frame()
1657 if (request->error_status >= SNMP_VARBIND_EXCEPTION_OFFSET) { in snmp_complete_outbound_frame()
1664 …if ((request->error_status != SNMP_ERR_NOERROR) || (request->request_type == SNMP_ASN1_CONTEXT_PDU… in snmp_complete_outbound_frame()
1724 if (request->error_status != 0) { in snmp_complete_outbound_frame()
1726 snmp_asn1_enc_s32t_cnt(request->error_status, &len); in snmp_complete_outbound_frame()
1732 … OF_BUILD_EXEC( snmp_asn1_enc_s32t(&(request->outbound_pbuf_stream), len, request->error_status) ); in snmp_complete_outbound_frame()
1735 switch (request->error_status) { in snmp_complete_outbound_frame()
1751 if (request->error_status == SNMP_ERR_TOOBIG) { in snmp_complete_outbound_frame()