On Tue, 18 Oct 2005 11:07:14 -0700 Srini wrote:
SK> > On Mon, 17 Oct 2005 11:56:17 -0700 Srini wrote:
SK> > SK> From the mib impletation code we return the values in 
SK> > host order and 
SK> > SK> we believe snmp stack should format the values in network 
SK> > byte order 
SK> > SK> and send on wire.
SK> > 
SK> > What are the types of the object involved here?
SK> > 
SK> 
SK> We tested with Unsigned32 object. But the problem would be there for
SK> other objects also. 
SK> So are you saying the snmp stack does NOT do any conversion to/from
SK> network byte order.
SK> Does this mean whatever is sent from mib implementation code the snmp
SK> stack sends it AS IS (without converting to network byte order) on the
SK> wire? Is our understanding right?

No, the ASN encoding takes care of putting things in network byte order. I had
assumed that the type you were working with was IpAddr, since others have
reported issues with this type as well.

Let me make sure I understand you correctly -  you have an agent running on
a 32 bit PowerPC, returning an unsigned32 value to a 32 bit intel machine. Is
that right?

Is the management application based on net-snmp as well?

Does this occur with all objects? I just gathered ifInOctets from my PPC
machine from my x86 machine, and got the same values as I get querying
directly on the PPC machine.

What release are you using?

-- 
NOTE: messages sent directly to me, instead of the lists, will be deleted
      unless they are requests for paid consulting services.

Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to