SNMP Manager Programmer's Guide

Using Header Files, Data Structures, and Defines
SNMP Manager Programmer’s Guide–134249
4-10
Defines
Defines
Table 4-3 summarizes some Manager Services defines you may find useful.
IPC encoding results in packets that are much less compact than those created using
BER encoding. Therefore SNMP_MAX_PACKET_SIZE may not be appropriate to use
in conjunction with IPC packets. The NonStop agent supports packets as large as 4096
bytes.
Table 4-3. Useful Manager Services Defines
Define Name Value
MAX_OID_COUNT 32
SNMP_MAX_PACKET_SIZE 1400
SNMP_MIN_PACKET_SIZE 484
SNMP_REQUEST_PORT 161
SNMP_TRAP_PORT 162
SNMP_VERSION_1 0