tcpdump mailing list archives
Re: Request for new Link-layer header type
From: <HPfrommer () hilscher com>
Date: Fri, 16 Sep 2011 09:12:34 +0200
-----Ursprüngliche Nachricht----- Von: tcpdump-workers-owner () lists tcpdump org [mailto:tcpdump-workers->owner () lists tcpdump org] Im Auftrag von Guy Harris Gesendet: Donnerstag, 15. September 2011 22:46 An: tcpdump-workers () lists tcpdump org Betreff: Re: [tcpdump-workers] Request for new Link-layer header type On Aug 31, 2011, at 4:03 AM, <HPfrommer () hilscher com> ><HPfrommer () hilscher com> 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.
Current thread:
- Re: Request for new Link-layer header type, (continued)
- Re: Request for new Link-layer header type HPfrommer (Sep 05)
- Re: Request for new Link-layer header type Guy Harris (Sep 06)
- Re: Request for new Link-layer header type Guy Harris (Sep 06)
- Re: Request for new Link-layer header type HPfrommer (Sep 06)
- Re: Request for new Link-layer header type Guy Harris (Sep 13)
- Re: Request for new Link-layer header type HPfrommer (Sep 14)
- Re: Request for new Link-layer header type Guy Harris (Sep 14)
- Re: Request for new Link-layer header type HPfrommer (Sep 14)
- Re: Request for new Link-layer header type Guy Harris (Sep 15)
- Re: Request for new Link-layer header type Guy Harris (Sep 15)
- Re: Request for new Link-layer header type HPfrommer (Sep 16)
- Re: Request for new Link-layer header type Guy Harris (Aug 30)
