net-snmp 5.7
|
The snmp protocol data unit. More...
#include <types.h>
Data Fields | |
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 |
unsigned char snmp_pdu::agent_addr[4] |
u_char* snmp_pdu::community |
size_t snmp_pdu::community_len |
u_char* snmp_pdu::contextEngineID |
size_t snmp_pdu::contextEngineIDLen |
char* snmp_pdu::contextName |
size_t snmp_pdu::contextNameLen |
oid* snmp_pdu::enterprise |
long snmp_pdu::errindex |
long snmp_pdu::errstat |
long snmp_pdu::msgid |
long snmp_pdu::reqid |
u_char* snmp_pdu::securityEngineID |
char* snmp_pdu::securityName |
size_t snmp_pdu::securityNameLen |
long snmp_pdu::sessid |
const oid* snmp_pdu::tDomain |
u_long snmp_pdu::time |
long snmp_pdu::transid |
void* snmp_pdu::transport_data |
long snmp_pdu::trap_type |
long snmp_pdu::version |