>-----Ursprüngliche Nachricht-----
>Von: [email protected] 
>[mailto:tcpdump-workers->[email protected]] Im Auftrag von Guy Harris
>Gesendet: Donnerstag, 15. September 2011 22:46
>An: [email protected]
>Betreff: Re: [tcpdump-workers] Request for new Link-layer header type
>
>
>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?

That's correct.



Hilscher Gesellschaft für Systemautomation mbH
Rheinstr. 15, 65795 Hattersheim
Sitz der Gesellschaft: Hattersheim
Geschäftsführer: Hans-Jürgen Hilscher
Registergericht: Amtsgericht Frankfurt/Main
Handelsregister: Frankfurt B 26873
www.hilscher.com

-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.

Reply via email to