On Aug 31, 2011, at 4:03 AM, <[email protected]> <[email protected]> 
wrote:

> Unfortunately there is no document online, but the structure is quite simple, 
> it's just a 32-bit value containing some bit fields:
> 
> typedef struct
> {
>       uint32_t        uiErrorCode   : 8;
>       uint32_t        uiGpio        : 1;
>       uint32_t        uiTransparent : 1;
>       uint32_t        uiHeaVersion  : 4;
>       uint32_t        uiPort        : 2;
>       uint32_t        uiLength      : 12;
>       uint32_t        uiReserved    : 4;
> } NETANA_HEADER_BIT_T;

        ...

> Everything little-endian representation.

So the error code is in the lowermost 8 bits of the 32-bit value, with the Gpio 
bit above that, and so on, with the uppermost 4 bits being reserved?
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.

Reply via email to