The following functions and variables are designated as internal to the SNMP module.
Enumerations
|
Name |
Description |
|
| |
|
|
Functions
|
Name |
Description |
|
Prepare for full duplex transfer. | |
|
Read byte from snmp udp socket rx buffer. | |
|
Copy byte to tx buffer. | |
|
Finds number of varbinds in the varbind list received in a pdu. | |
|
Get ASN data type info. | |
|
Verifies the value type as ASN_NULL. | |
|
Set snmp error status in the response pdu. | |
|
Retrieves the packet length and actual pdu length. | |
|
Searches for the next leaf node in the MIP tree. | |
|
Get OID string from MPFS using the node address. | |
|
Get complete notification variable OID string from MPFS using var id. | |
|
Verifies for the community string datatype and the max community name and length, this agent can process. | |
|
Verifies variable datatype as INT and retrieves its value. | |
|
Populates OID type, length and oid string from the received pdu. | |
|
Verifies for the snmp request type. | |
|
Decode variable length structure. | |
|
To search and validate whether the requested OID is in the MIB database. | |
|
Validates the received udp packet Get/Set request header. | |
|
Validates the received udp packet Snmp header. | |
|
Processes snmp Set request pdu. | |
|
This routine processes the snmp request and parallely creates the response pdu. | |
|
Get OID string from MPFS using the node address. | |
|
To find whether requested OID is only for private access. |
Macros
|
Name |
Description |
|
This is macro _SNMPGetTxOffset. | |
|
| |
|
This is macro AGENT_NOTIFY_PORT. | |
|
This is macro ASN_INT. | |
|
This is macro ASN_NULL. | |
|
This is macro ASN_OID. | |
|
| |
|
This is macro GET_BULK_REQUEST. | |
|
This is macro GET_NEXT_REQUEST. | |
|
| |
|
This is macro GET_RESPONSE. | |
|
This is macro IS_AGENT_PDU. | |
|
This is macro IS_ASN_INT. | |
|
This is macro IS_ASN_NULL. | |
|
This is macro IS_GET_NEXT_REQUEST. | |
|
This is macro IS_GET_REQUEST. | |
|
This is macro IS_GET_RESPONSE. | |
|
This is macro IS_OCTET_STRING. | |
|
This is macro IS_OID. | |
|
This is macro IS_SET_REQUEST. | |
|
| |
|
This is macro IS_TRAP. | |
|
This is macro OCTET_STRING. | |
|
This is macro SET_REQUEST. | |
|
| |
|
This is the file that contains SNMP bib file. File name must contain all upper case letter and must match with what was included in MPFS2 image. | |
|
This is macro SNMP_COUNTER32. | |
|
This is macro SNMP_GAUGE32. | |
|
This is macro SNMP_IP_ADDR. | |
|
This is macro SNMP_NMS_PORT. | |
|
This is macro SNMP_NSAP_ADDR. | |
|
This is macro SNMP_OPAQUE. | |
|
This is macro SNMP_TIME_TICKS. | |
|
| |
|
This is macro SNMP_V2C. | |
|
| |
|
This is macro TRAP. |
Module
Structures
|
Name |
Description |
|
| |
|
| |
|
| |
|
| |
|
|
Unions
|
Name |
Description |
|
| |
|
| |
|
|
Variables
|
Name |
Description |
|
global flag to modify OID by appending zero | |
|
ASN format datatype for snmp v1 and v2c | |
|
MPFS file handler | |
|
Snmp udp socket | |
|
notify info for trap | |
|
vars from req list processing err status | |
|
Snmp udp buffer rx offset | |
|
MIB file access status | |
|
Snmp udp buffer tx offset | |
|
Initialize trap table with no entries. |