[ap-utils] Question...

Roman Festchook ap-utils@kiev.iorta.com
Fri, 28 Feb 2003 09:40:16 +0200


On ðÑÔ 28 ìÀÔ 2003 07:23, Shawn Mitchell wrote:
> -----Original Message-----
> From: Nikhil Goel [mailto:nikhil.goel@smartbridges.com]
> Sent: Thursday, February 27, 2003 11:07 PM
> To: shawnm@iodamedia.net
> Cc: ap-utils@kiev.iorta.com
> Subject: Re: [ap-utils] Question...
>
>
> Hi Shawn,
>
> To anwer your original question partially,  the data is returned as
> HEX-String in octets mostly, depending on the MIB.
>
> The ap-utils uses the swap4 macro for processing in lib/ap-utils.h and
> src/ap-mrtg.c for this. You may want to check the source code.
no No NO!!!
swap4 macro only for converts betwean bigendian and littleendian arch.

-- 
Roman Festchook
Network Engineer
RF2-UANIC FRA11-RIPE