Re: how to return no such instance for delegated requests

This is a discussion on Re: how to return no such instance for delegated requests within the SNMP Coders forums, part of the Networking and Network Related category; hai, > M> Currently we support GET and GETNEXT only. Anyway to support GET-BULK > M> using ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-01-2005
madanagopal
 
Posts: n/a
Default Re: how to return no such instance for delegated requests

hai,

> M> Currently we support GET and GETNEXT only. Anyway to support GET-BULK
> M> using the table handler what should we do? Should we add bulk-to-next
> M> handler?
>
> Yep. In fact, it's probably already being done for you.
>


Does this mean that in our handler is it enough to have a case for
MODE_GETBULK under switch(reqinfo->mode) and write the code? Or is it that
the GETBULK requests will be converted to GETNEXT requests by the
bulk-to-next handler itself and so we don't see GETBULK requests in our
handler?

Regarding avoiding queries for next column even though it violates the
standard, can you suggest something? Particularly, why does setting the
error SNMP_ERR_NOSUCHINSTANCE or SNMP_ERR_NOSUCHOBJECT with and without
delegating behave differently? In the former case the request for the next
subtree is sent but it is not the case with the latter.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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 Search this Thread
Search this Thread:

Advanced Search
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

BB 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 09:30 AM.


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