15
17
.RI "long \fBversion\fP"
17
.RI "\fIsnmp version\fP"
19
.RI "\fIsnmp version \fP"
19
21
.RI "int \fBcommand\fP"
21
.RI "\fIType of this PDU.\fP"
23
.RI "\fIType of this PDU. \fP"
23
25
.RI "long \fBreqid\fP"
25
.RI "\fIRequest id - note: not incremented on retries.\fP"
27
.RI "\fIRequest id - note: not incremented on retries. \fP"
27
29
.RI "long \fBmsgid\fP"
29
.RI "\fIMessage id for V3 messages note: incremented for each retry.\fP"
31
.RI "\fIMessage id for V3 messages note: incremented for each retry. \fP"
31
33
.RI "long \fBtransid\fP"
33
.RI "\fIUnique ID for incoming transactions.\fP"
35
.RI "\fIUnique ID for incoming transactions. \fP"
35
37
.RI "long \fBsessid\fP"
37
.RI "\fISession id for AgentX messages.\fP"
39
.RI "\fISession id for AgentX messages. \fP"
39
41
.RI "long \fBerrstat\fP"
41
.RI "\fIError status (non_repeaters in GetBulk).\fP"
43
.RI "\fIError status (non_repeaters in GetBulk). \fP"
43
45
.RI "long \fBerrindex\fP"
45
.RI "\fIError index (max_repetitions in GetBulk).\fP"
47
.RI "\fIError index (max_repetitions in GetBulk). \fP"
47
49
.RI "u_long \fBtime\fP"
53
.RI "u_long \fBflags\fP"
56
.RI "int \fBsecurityModel\fP"
51
59
.RI "int \fBsecurityLevel\fP"
53
.RI "\fInoAuthNoPriv, authNoPriv, authPriv\fP"
61
.RI "\fInoAuthNoPriv, authNoPriv, authPriv \fP"
63
.RI "int \fBmsgParseModel\fP"
55
66
.RI "void * \fBtransport_data\fP"
57
.RI "\fITransport-specific opaque data.\fP"
68
.RI "\fITransport-specific opaque data. \fP"
70
.RI "int \fBtransport_data_length\fP"
59
73
.RI "const oid * \fBtDomain\fP"
61
.RI "\fIThe actual transport domain.\fP"
75
.RI "\fIThe actual transport domain. \fP"
77
.RI "size_t \fBtDomainLen\fP"
80
.RI "\fBnetsnmp_variable_list\fP * \fBvariables\fP"
63
83
.RI "u_char * \fBcommunity\fP"
65
.RI "\fIcommunity for outgoing requests.\fP"
85
.RI "\fIcommunity for outgoing requests. \fP"
67
87
.RI "size_t \fBcommunity_len\fP"
69
.RI "\fIlength of community name.\fP"
89
.RI "\fIlength of community name. \fP"
71
91
.RI "oid * \fBenterprise\fP"
73
.RI "\fISystem OID.\fP"
93
.RI "\fISystem OID. \fP"
95
.RI "size_t \fBenterprise_length\fP"
75
98
.RI "long \fBtrap_type\fP"
100
.RI "\fItrap type \fP"
79
102
.RI "long \fBspecific_type\fP"
81
.RI "\fIspecific type\fP"
104
.RI "\fIspecific type \fP"
83
106
.RI "unsigned char \fBagent_addr\fP [4]"
85
.RI "\fIThis is ONLY used for v1 TRAPs.\fP"
108
.RI "\fIThis is ONLY used for v1 TRAPs. \fP"
87
110
.RI "u_char * \fBcontextEngineID\fP"
89
.RI "\fIcontext snmpEngineID\fP"
112
.RI "\fIcontext snmpEngineID \fP"
91
114
.RI "size_t \fBcontextEngineIDLen\fP"
93
.RI "\fILength of contextEngineID.\fP"
116
.RI "\fILength of contextEngineID. \fP"
95
118
.RI "char * \fBcontextName\fP"
97
.RI "\fIauthoritative contextName\fP"
120
.RI "\fIauthoritative contextName \fP"
99
122
.RI "size_t \fBcontextNameLen\fP"
101
.RI "\fILength of contextName.\fP"
124
.RI "\fILength of contextName. \fP"
103
126
.RI "u_char * \fBsecurityEngineID\fP"
105
.RI "\fIauthoritative snmpEngineID for security\fP"
128
.RI "\fIauthoritative snmpEngineID for security \fP"
107
130
.RI "size_t \fBsecurityEngineIDLen\fP"
109
.RI "\fILength of securityEngineID.\fP"
132
.RI "\fILength of securityEngineID. \fP"
111
134
.RI "char * \fBsecurityName\fP"
113
.RI "\fIon behalf of this principal\fP"
136
.RI "\fIon behalf of this principal \fP"
115
138
.RI "size_t \fBsecurityNameLen\fP"
117
.RI "\fILength of securityName.\fP"
140
.RI "\fILength of securityName. \fP"
142
.RI "int \fBpriority\fP"
145
.RI "int \fBrange_subid\fP"
148
.RI "void * \fBsecurityStateRef\fP"
119
.SH "DETAILED DESCRIPTION"
121
The snmp protocol data unit.
123
Definition at line 75 of file snmp_api.h.
124
.SH "FIELD DOCUMENTATION"
126
.SS "unsigned char snmp_pdu::agent_addr[4]"
128
This is ONLY used for v1 TRAPs.
130
Definition at line 142 of file snmp_api.h.
131
.SS "int snmp_pdu::command"
135
Definition at line 83 of file snmp_api.h.
151
.SH "Detailed Description"
153
The snmp protocol data unit. Definition at line 75 of file snmp_api.h.
154
.SH "Field Documentation"
156
.SS "unsigned char \fBsnmp_pdu::agent_addr\fP[4]"
158
This is ONLY used for v1 TRAPs. Definition at line 142 of file snmp_api.h.
159
.SS "int \fBsnmp_pdu::command\fP"
161
Type of this PDU. Definition at line 83 of file snmp_api.h.
137
163
Referenced by handle_snmp_packet().
138
.SS "u_char* snmp_pdu::community"
140
community for outgoing requests.
142
Definition at line 127 of file snmp_api.h.
143
.SS "size_t snmp_pdu::community_len"
145
length of community name.
147
Definition at line 129 of file snmp_api.h.
148
.SS "u_char* snmp_pdu::contextEngineID"
152
Definition at line 148 of file snmp_api.h.
153
.SS "size_t snmp_pdu::contextEngineIDLen"
155
Length of contextEngineID.
157
Definition at line 150 of file snmp_api.h.
158
.SS "char* snmp_pdu::contextName"
160
authoritative contextName
162
Definition at line 152 of file snmp_api.h.
163
.SS "size_t snmp_pdu::contextNameLen"
165
Length of contextName.
167
Definition at line 154 of file snmp_api.h.
168
.SS "oid* snmp_pdu::enterprise"
172
Definition at line 135 of file snmp_api.h.
173
.SS "long snmp_pdu::errindex"
175
Error index (max_repetitions in GetBulk).
177
Definition at line 95 of file snmp_api.h.
178
.SS "long snmp_pdu::errstat"
180
Error status (non_repeaters in GetBulk).
182
Definition at line 93 of file snmp_api.h.
183
.SS "long snmp_pdu::msgid"
185
Message id for V3 messages note: incremented for each retry.
187
Definition at line 87 of file snmp_api.h.
188
.SS "long snmp_pdu::reqid"
190
Request id - note: not incremented on retries.
192
Definition at line 85 of file snmp_api.h.
193
.SS "u_char* snmp_pdu::securityEngineID"
195
authoritative snmpEngineID for security
197
Definition at line 156 of file snmp_api.h.
198
.SS "size_t snmp_pdu::securityEngineIDLen"
200
Length of securityEngineID.
202
Definition at line 158 of file snmp_api.h.
203
.SS "int snmp_pdu::securityLevel"
205
noAuthNoPriv, authNoPriv, authPriv
207
Definition at line 102 of file snmp_api.h.
208
.SS "char* snmp_pdu::securityName"
210
on behalf of this principal
212
Definition at line 160 of file snmp_api.h.
213
.SS "size_t snmp_pdu::securityNameLen"
215
Length of securityName.
217
Definition at line 162 of file snmp_api.h.
218
.SS "long snmp_pdu::sessid"
220
Session id for AgentX messages.
222
Definition at line 91 of file snmp_api.h.
223
.SS "long snmp_pdu::specific_type"
227
Definition at line 140 of file snmp_api.h.
228
.SS "const oid* snmp_pdu::tDomain"
230
The actual transport domain.
232
This SHOULD NOT BE \fBFREE()\fPD.
234
Definition at line 117 of file snmp_api.h.
235
.SS "u_long snmp_pdu::time"
239
Definition at line 97 of file snmp_api.h.
240
.SS "long snmp_pdu::transid"
242
Unique ID for incoming transactions.
244
Definition at line 89 of file snmp_api.h.
245
.SS "void* snmp_pdu::transport_data"
247
Transport-specific opaque data.
249
This replaces the IP-centric address field.
251
Definition at line 110 of file snmp_api.h.
252
.SS "long snmp_pdu::trap_type"
256
Definition at line 138 of file snmp_api.h.
257
.SS "long snmp_pdu::version"
261
Definition at line 81 of file snmp_api.h.
164
.SS "u_char* \fBsnmp_pdu::community\fP"
166
community for outgoing requests. Definition at line 127 of file snmp_api.h.
167
.SS "size_t \fBsnmp_pdu::community_len\fP"
169
length of community name. Definition at line 129 of file snmp_api.h.
170
.SS "u_char* \fBsnmp_pdu::contextEngineID\fP"
172
context snmpEngineID Definition at line 148 of file snmp_api.h.
173
.SS "size_t \fBsnmp_pdu::contextEngineIDLen\fP"
175
Length of contextEngineID. Definition at line 150 of file snmp_api.h.
176
.SS "char* \fBsnmp_pdu::contextName\fP"
178
authoritative contextName Definition at line 152 of file snmp_api.h.
179
.SS "size_t \fBsnmp_pdu::contextNameLen\fP"
181
Length of contextName. Definition at line 154 of file snmp_api.h.
182
.SS "oid* \fBsnmp_pdu::enterprise\fP"
184
System OID. Definition at line 135 of file snmp_api.h.
185
.SS "long \fBsnmp_pdu::errindex\fP"
187
Error index (max_repetitions in GetBulk). Definition at line 95 of file snmp_api.h.
188
.SS "long \fBsnmp_pdu::errstat\fP"
190
Error status (non_repeaters in GetBulk). Definition at line 93 of file snmp_api.h.
191
.SS "long \fBsnmp_pdu::msgid\fP"
193
Message id for V3 messages note: incremented for each retry. Definition at line 87 of file snmp_api.h.
194
.SS "long \fBsnmp_pdu::reqid\fP"
196
Request id - note: not incremented on retries. Definition at line 85 of file snmp_api.h.
197
.SS "u_char* \fBsnmp_pdu::securityEngineID\fP"
199
authoritative snmpEngineID for security Definition at line 156 of file snmp_api.h.
200
.SS "size_t \fBsnmp_pdu::securityEngineIDLen\fP"
202
Length of securityEngineID. Definition at line 158 of file snmp_api.h.
203
.SS "int \fBsnmp_pdu::securityLevel\fP"
205
noAuthNoPriv, authNoPriv, authPriv Definition at line 102 of file snmp_api.h.
206
.SS "char* \fBsnmp_pdu::securityName\fP"
208
on behalf of this principal Definition at line 160 of file snmp_api.h.
209
.SS "size_t \fBsnmp_pdu::securityNameLen\fP"
211
Length of securityName. Definition at line 162 of file snmp_api.h.
212
.SS "long \fBsnmp_pdu::sessid\fP"
214
Session id for AgentX messages. Definition at line 91 of file snmp_api.h.
215
.SS "long \fBsnmp_pdu::specific_type\fP"
217
specific type Definition at line 140 of file snmp_api.h.
218
.SS "const oid* \fBsnmp_pdu::tDomain\fP"
220
The actual transport domain. This SHOULD NOT BE FREE()D. Definition at line 117 of file snmp_api.h.
221
.SS "u_long \fBsnmp_pdu::time\fP"
223
Uptime. Definition at line 97 of file snmp_api.h.
224
.SS "long \fBsnmp_pdu::transid\fP"
226
Unique ID for incoming transactions. Definition at line 89 of file snmp_api.h.
227
.SS "void* \fBsnmp_pdu::transport_data\fP"
229
Transport-specific opaque data. This replaces the IP-centric address field. Definition at line 110 of file snmp_api.h.
230
.SS "long \fBsnmp_pdu::trap_type\fP"
232
trap type Definition at line 138 of file snmp_api.h.
233
.SS "long \fBsnmp_pdu::version\fP"
235
snmp version Definition at line 81 of file snmp_api.h.
263
237
Referenced by handle_snmp_packet(), and netsnmp_acm_check_subtree().
267
241
Generated automatically by Doxygen for net-snmp from the source code.