Re: PDU processing routines

This is a discussion on Re: PDU processing routines within the SNMP Users forums, part of the Networking and Network Related category; On 31/07/06, Jonathan Shan <jonshan@winmain.rutgers.edu> wrote: > In the demo program, there is ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-31-2006
Dave Shield
 
Posts: n/a
Default Re: PDU processing routines

On 31/07/06, Jonathan Shan <jonshan@winmain.rutgers.edu> wrote:
> In the demo program, there is a line:
> req = snmp_pdu_create(SNMP_MSG_GET);
>
> I want to know what are the parameters to function snmp_pdu_create(). I
> assume SNMP_MSG_SET is another.


$ grep SNMP_MSG include/net-snmp/library/snmp.h
#define SNMP_MSG_GET ....
#define SNMP_MSG_GETNEXT ....
#define SNMP_MSG_RESPONSE ....
#define SNMP_MSG_SET ....
#define SNMP_MSG_TRAP ....
#define SNMP_MSG_GETBULK ....
#define SNMP_MSG_INFORM ....
#define SNMP_MSG_TRAP2 ....
#define SNMP_MSG_REPORT ....

You can ignore the other matches from that file, and you wouldn't
normally need to construct RESPONSE or REPORT PDUs. But any of the
others are fair game.

Dave

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?p...rge&CID=DEVDEV
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:33 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0