Re: GetBulk

This is a discussion on Re: GetBulk within the SNMP Coders forums, part of the Networking and Network Related category; On 04/09/06, Ritwik, Basu <Basu.Ritwik@lsil.com> wrote: > Could you please tell me the ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-04-2006
Dave Shield
 
Posts: n/a
Default Re: GetBulk

On 04/09/06, Ritwik, Basu <Basu.Ritwik@lsil.com> wrote:
> Could you please tell me the function prototype for getbulk???


At what level are you working? (Which language? :-))
What function prototypes are you comparing GETBULK against?

The basic Net-SNMP library uses the same functions to send *all*
requests, so GETBULK typically uses the same API as any other request
(GET, GETNEXT, SET, etc).
See 'snmpbulkget.c' for an example.


> How is the bulk data returned to the calling master agent? I mean what is
> the nature of the pointer or structure used?


As a varbind list ('netsnmp_variable_list') - just as for GET or
GETNEXT requests.
The only difference is that the returned list is typically longer than
in the original request
(unlike the other two, where the request and response varbind lists
will be the same length).

Dave

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=...057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
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 11:27 PM.


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