#include <snmp_api.h>
変数 | |
long | version |
snmp version | |
int | command |
Type of this PDU | |
long | reqid |
Request id - note: not incremented on retries | |
long | msgid |
Message id for V3 messages note: incremented for each retry | |
long | transid |
Unique ID for incoming transactions | |
long | sessid |
Session id for AgentX messages | |
long | errstat |
Error status (non_repeaters in GetBulk) | |
long | errindex |
Error index (max_repetitions in GetBulk) | |
u_long | time |
Uptime | |
u_long | flags |
int | securityModel |
int | securityLevel |
noAuthNoPriv, authNoPriv, authPriv | |
int | msgParseModel |
void * | transport_data |
Transport-specific opaque data. | |
int | transport_data_length |
const oid * | tDomain |
The actual transport domain. | |
size_t | tDomainLen |
netsnmp_variable_list * | variables |
u_char * | community |
community for outgoing requests. | |
size_t | community_len |
length of community name. | |
oid * | enterprise |
System OID | |
size_t | enterprise_length |
long | trap_type |
trap type | |
long | specific_type |
specific type | |
unsigned char | agent_addr [4] |
This is ONLY used for v1 TRAPs | |
u_char * | contextEngineID |
context snmpEngineID | |
size_t | contextEngineIDLen |
Length of contextEngineID | |
char * | contextName |
authoritative contextName | |
size_t | contextNameLen |
Length of contextName | |
u_char * | securityEngineID |
authoritative snmpEngineID for security | |
size_t | securityEngineIDLen |
Length of securityEngineID | |
char * | securityName |
on behalf of this principal | |
size_t | securityNameLen |
Length of securityName. | |
int | priority |
int | range_subid |
void * | securityStateRef |
snmp_api.h の 75 行で定義されています。
unsigned char snmp_pdu::agent_addr[4] |
This is ONLY used for v1 TRAPs
snmp_api.h の 142 行で定義されています。
参照元 convert_v1pdu_to_v2()・convert_v2pdu_to_v1()・netsnmp_send_traps()・snmp_pdu_build()・snmp_pdu_parse().
Type of this PDU
snmp_api.h の 83 行で定義されています。
参照元 convert_v1pdu_to_v2()・convert_v2pdu_to_v1()・handle_pdu()・handle_snmp_packet()・netsnmp_add_varbind_to_cache()・netsnmp_agent_check_parse()・netsnmp_check_outstanding_agent_requests()・netsnmp_create_subtree_cache()・netsnmp_handle_request()・netsnmp_wrap_up_request()・save_set_cache()・send_trap_to_sess()・snmp_fix_pdu()・snmp_pdu_build()・snmp_pdu_create()・snmp_pdu_parse()・snmpv3_make_report()・snmpv3_scopedPDU_parse().
u_char* snmp_pdu::community |
size_t snmp_pdu::community_len |
u_char* snmp_pdu::contextEngineID |
context snmpEngineID
snmp_api.h の 148 行で定義されています。
参照元 snmp_free_pdu()・snmpv3_make_report()・snmpv3_parse()・snmpv3_scopedPDU_parse().
size_t snmp_pdu::contextEngineIDLen |
Length of contextEngineID
snmp_api.h の 150 行で定義されています。
参照元 snmpv3_make_report()・snmpv3_parse()・snmpv3_scopedPDU_parse().
char* snmp_pdu::contextName |
authoritative contextName
snmp_api.h の 152 行で定義されています。
参照元 netsnmp_create_subtree_cache()・snmp_free_pdu()・snmpv3_make_report()・snmpv3_scopedPDU_parse().
size_t snmp_pdu::contextNameLen |
Length of contextName
snmp_api.h の 154 行で定義されています。
参照元 snmp_pdu_create()・snmpv3_make_report()・snmpv3_scopedPDU_parse().
oid* snmp_pdu::enterprise |
System OID
snmp_api.h の 135 行で定義されています。
参照元 convert_v1pdu_to_v2()・convert_v2pdu_to_v1()・netsnmp_send_traps()・snmp_free_pdu()・snmp_pdu_build()・snmp_pdu_parse().
long snmp_pdu::errindex |
Error index (max_repetitions in GetBulk)
snmp_api.h の 95 行で定義されています。
参照元 _reorder_getbulk()・netsnmp_agent_check_parse()・netsnmp_create_subtree_cache()・netsnmp_wrap_up_request()・snmp_fix_pdu()・snmp_pdu_build()・snmp_pdu_create()・snmp_pdu_parse()・snmpv3_make_report().
long snmp_pdu::errstat |
Error status (non_repeaters in GetBulk)
snmp_api.h の 93 行で定義されています。
参照元 _reorder_getbulk()・handle_snmp_packet()・netsnmp_agent_check_parse()・netsnmp_create_subtree_cache()・netsnmp_wrap_up_request()・snmp_fix_pdu()・snmp_pdu_build()・snmp_pdu_create()・snmp_pdu_parse()・snmpv3_make_report().
long snmp_pdu::msgid |
long snmp_pdu::reqid |
Request id - note: not incremented on retries
snmp_api.h の 85 行で定義されています。
参照元 snmp_fix_pdu()・snmp_pdu_build()・snmp_pdu_create()・snmp_pdu_parse().
u_char* snmp_pdu::securityEngineID |
authoritative snmpEngineID for security
snmp_api.h の 156 行で定義されています。
参照元 send_trap_to_sess()・snmp_free_pdu()・snmpv3_make_report()・snmpv3_packet_build()・snmpv3_parse()・snmpv3_scopedPDU_parse().
Length of securityEngineID
snmp_api.h の 158 行で定義されています。
参照元 send_trap_to_sess()・snmpv3_make_report()・snmpv3_packet_build()・snmpv3_parse()・snmpv3_scopedPDU_parse().
noAuthNoPriv, authNoPriv, authPriv
snmp_api.h の 102 行で定義されています。
参照元 snmpv3_make_report()・snmpv3_packet_build()・snmpv3_parse().
char* snmp_pdu::securityName |
size_t snmp_pdu::securityNameLen |
long snmp_pdu::sessid |
specific type
snmp_api.h の 140 行で定義されています。
参照元 convert_v1pdu_to_v2()・convert_v2pdu_to_v1()・netsnmp_send_traps()・snmp_pdu_build()・snmp_pdu_parse().
const oid* snmp_pdu::tDomain |
u_long snmp_pdu::time |
Uptime
snmp_api.h の 97 行で定義されています。
参照元 convert_v1pdu_to_v2()・convert_v2pdu_to_v1()・netsnmp_send_traps()・snmp_pdu_build()・snmp_pdu_create()・snmp_pdu_parse().
long snmp_pdu::transid |
Unique ID for incoming transactions
snmp_api.h の 89 行で定義されています。
参照元 check_delayed_request()・get_set_cache()・netsnmp_create_delegated_cache()・save_set_cache().
void* snmp_pdu::transport_data |
Transport-specific opaque data.
This replaces the IP-centric address field.
snmp_api.h の 110 行で定義されています。
参照元 snmp_create_sess_pdu()・snmp_free_pdu()・snmp_pdu_create().
long snmp_pdu::trap_type |
trap type
snmp_api.h の 138 行で定義されています。
参照元 convert_v1pdu_to_v2()・convert_v2pdu_to_v1()・netsnmp_send_traps()・snmp_pdu_build()・snmp_pdu_parse().
long snmp_pdu::version |
snmp version
snmp_api.h の 81 行で定義されています。
参照元 check_access()・handle_snmp_packet()・in_a_view()・netsnmp_acm_check_subtree()・netsnmp_wrap_up_request()・send_trap_to_sess()・snmp_pdu_create()・snmpv3_parse().