:orphan: .. index:: pair: struct; tapi_snmp_message_t .. _doxid-structtapi__snmp__message__t: struct tapi_snmp_message_t ========================== .. toctree:: :hidden: Overview ~~~~~~~~ SNMP Message :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct tapi_snmp_message_t { // fields ndn_snmp_msg_t :ref:`type`; int :ref:`err_status`; int :ref:`err_index`; size_t :ref:`num_var_binds`; :ref:`tapi_snmp_varbind_t`* :ref:`vars`; :ref:`tapi_snmp_oid_t` :ref:`enterprise`; long :ref:`gen_trap`; long :ref:`spec_trap`; uint8_t :ref:`agent_addr`[4]; }; .. _details-structtapi__snmp__message__t: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ SNMP Message Fields ------ .. index:: pair: variable; type .. _doxid-structtapi__snmp__message__t_1afc8c30b8ed99d36f779c96034d6a23dd: .. ref-code-block:: cpp :class: doxyrest-title-code-block ndn_snmp_msg_t type type of message .. index:: pair: variable; err_status .. _doxid-structtapi__snmp__message__t_1aca59b560158a31b39e2b0fe3497eec1e: .. ref-code-block:: cpp :class: doxyrest-title-code-block int err_status SNMP error, values: SNMP_ERR\_\* from ; used only in SNMP replies. .. index:: pair: variable; err_index .. _doxid-structtapi__snmp__message__t_1ada5b92a8c19d928ccfb697781f38dec3: .. ref-code-block:: cpp :class: doxyrest-title-code-block int err_index Index of wrong variable binding in request used only in SNMP replies. .. index:: pair: variable; num_var_binds .. _doxid-structtapi__snmp__message__t_1a1bf4afbf74a97bafd5960ce19c4f2c75: .. ref-code-block:: cpp :class: doxyrest-title-code-block size_t num_var_binds Number of variables in message. .. index:: pair: variable; vars .. _doxid-structtapi__snmp__message__t_1a1d091e057ac8163d45afeb3e948a1bcb: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`tapi_snmp_varbind_t`* vars Pointer to array with variables. Trap v1 only fields .. index:: pair: variable; enterprise .. _doxid-structtapi__snmp__message__t_1a5ebcf122cbc3e5e35b848d360b6b9951: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`tapi_snmp_oid_t` enterprise Enterprise .. index:: pair: variable; gen_trap .. _doxid-structtapi__snmp__message__t_1a247f60089c55c78ca2dbf23de63ad6bc: .. ref-code-block:: cpp :class: doxyrest-title-code-block long gen_trap gen_trap .. index:: pair: variable; spec_trap .. _doxid-structtapi__snmp__message__t_1aaad765658bfa0f1b5de0f7578450cc63: .. ref-code-block:: cpp :class: doxyrest-title-code-block long spec_trap spec_trap .. index:: pair: variable; agent_addr .. _doxid-structtapi__snmp__message__t_1a05c22f2dcd045828a7af2703e9a3834e: .. ref-code-block:: cpp :class: doxyrest-title-code-block uint8_t agent_addr[4] agent_addr