net-snmp parse code, How to parse MIB?
问题 I am learning net-snmp code-base. To parsing MIB. In parse.c and parse.h code keeps a hash bucket. (indexed bucket (tree list)) . There is also a tree structure, Which contains a next pointer pointing to Next node in hashed list of names. struct tree{ . . struct tree *next; // Next node in hashed list of names int modid; // The module containing this node } I printed the MIB, SNMP-FRAMEWORK-MIB:snmpFrameworkMIB(10) type=24 Next-> ' ipSystemStatsHCOctetGroup ipSystemStatsOutFragReqds