Hi,
We are using netsnmp-5.1 version.
In this we are seeing a endianess issue. Following is our observation:
Platform Agent Mgmt Appl
Intel *NOTE
Little endian) ---------------- The packet received by
application
is also in little endian
PowerPC
(Big endian) *NOTE ---------------- The packet received by
application
is also in Big endian
*NOTE: In mib implementation code (get_xxx functions) we return the
values in host order. We expect the snmp stack to do the necessary
action and send on wire, which we belive would be sent in network byte
order.
Now the Mgmt application is running on Intel PC, and it expects the
packet value in little endian (which is the host order for intel PC).
But as you see above if the agent is running on a PowerPC platform, the
packet receievd by mgmt application is in Big endian, which we believe
is wrong.
>From the mib impletation code we return the values in host order and we
believe snmp stack should format the values in network byte order and
send on wire. But as we see above something is not right????
Thanks
Srini
-------------------------------------------------------
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