Re: Help on MIB table data structure implementation in NET-SNMP

2008-05-30 Thread Dave Shield
2008/5/30 杨伟 <[EMAIL PROTECTED]>: > I am just reading the "snmp_parse_oid" function. But I am not sure where it > get these oid? Net SNMP store the MIB tree? The Net-SNMP library will load a defined list of MIB files. The 'snmp_parse_oid' takes the specified name, locates it within the loaded coll

Re: Help on MIB table data structure implementation in NET-SNMP

2008-05-30 Thread 杨伟
I am just reading the "snmp_parse_oid" function. But I am not sure where it get these oid? Net SNMP store the MIB tree? If I want to parse a private node, it works? or I have to register it before using? Thanks 在08-5-29,Dave Shield <[EMAIL PROTECTED]> 写道: > > 2008/5/29 杨伟 <[EMAIL PROTECTED]>: >

Re: Help on MIB table data structure implementation in NET-SNMP

2008-05-29 Thread 杨伟
By the way, I'd like to do some application on the Net-SNMP API. Any one have some docs on this API? 2008/5/29, 杨伟 <[EMAIL PROTECTED]>: > > Thanks for your kindness. > > As I know, MIB has one datatype called SEQUENCE OF which is also called > table or entry. I want to konw how the SEQUENCE OF i

Re: Help on MIB table data structure implementation in NET-SNMP

2008-05-29 Thread 杨伟
Thanks for your kindness. As I know, MIB has one datatype called SEQUENCE OF which is also called table or entry. I want to konw how the SEQUENCE OF is implemented in Net-SNMP. Do I make myself clear? 在08-5-29,Dave Shield <[EMAIL PROTECTED]> 写道: > > 2008/5/29 杨伟 <[EMAIL PROTECTED]>: > > Would a

Re: Help on MIB table data structure implementation in NET-SNMP

2008-05-29 Thread Dave Shield
2008/5/29 杨伟 <[EMAIL PROTECTED]>: > As I know, MIB has one datatype called SEQUENCE OF which is also called > table or entry. I want to konw how the SEQUENCE OF is implemented in > Net-SNMP. SEQUENCE OF doesn't really exist - it's more of a design construct rather than a data structure as such.

Re: Help on MIB table data structure implementation in NET-SNMP

2008-05-29 Thread Dave Shield
2008/5/29 杨伟 <[EMAIL PROTECTED]>: > Would anybody like to tell me the data structure in Net-SNMP? > In which file? There are dozens (if not hundreds) of data structures used in the Net-SNMP agent - scattered through a large number of files. Would you like to be a bit more specific about exactly w

Help on MIB table data structure implementation in NET-SNMP

2008-05-29 Thread 杨伟
hi, every one Would anybody like to tell me the data structure in Net-SNMP? In which file? Thanks - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/g