nobody knows: SNMP SET with unknown error

This is a discussion on nobody knows: SNMP SET with unknown error within the SNMP Coders forums, part of the Networking and Network Related category; unsigned long int subnet_prefix = 0xfe80000000000000; snmp_pdu_add_variable(pdu, smNetPartitionConfigSubnetPrefix_oid, sizeof(smNetPartitionConfigSubnetPrefix_oid)/sizeof(oid), ASN_OCTET_STR, (u_char *)&subnet_prefix, sizeof(unsigned long int)); ...


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-14-2005
Haizhu Liu
 
Posts: n/a
Default nobody knows: SNMP SET with unknown error

unsigned long int subnet_prefix = 0xfe80000000000000;
snmp_pdu_add_variable(pdu, smNetPartitionConfigSubnetPrefix_oid,
sizeof(smNetPartitionConfigSubnetPrefix_oid)/sizeof(oid),
ASN_OCTET_STR, (u_char *)&subnet_prefix, sizeof(unsigned long int));
unsigned short int pKey = 0xfffc;
snmp_pdu_add_variable(pdu, smNetPartitionConfigKey_oid,
sizeof(smNetPartitionConfigKey_oid)/sizeof(oid), ASN_OCTET_STR,
(u_char *)&pKey, sizeof(unsigned short int));
int configAction =2;
snmp_pdu_add_variable(pdu, smNetPartitionConfigAction_oid,
sizeof(smNetPartitionConfigAction_oid)/sizeof(oid), ASN_INTEGER,
(u_char *)&configAction, sizeof(configAction));

I got failure with Unknown Error after SNMP set, anybody have an
idea what is wrong? I checked into the return from snmp_synch_response_cb,
the return status is 0, but the response errstat is 105. I don't know what
105 means.




-------------------------------------------------------
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 03:59 AM.


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