SNMP Subagent Programmer's Guide

Indexed Trap Generator
2-64 119728—SNMP Subagent Programmer’s Guide
Programming Tutorials
22. If the index values are good, they are adjusted for 0-based indexing.
23. The entry in the table is located.
Next Function
The function named next_entry is called by the run-time library when a GetNext
operation is being performed:
24. The function is defined. The function uses two parameters:
25. The value of the card index is determined.
26. The value of the port index is determined.
27. If the port number is too large, the next card is examined.
28. A test is performed to determine whether the card and port numbers really exist.
29. The indexes are adjusted to reflect the entry identified as the next entry.
t The context from the second mgmt_new_instance() call
i The addresses of index values