tcpdump mailing list archives

Re: DLT type requested for OpenSolaris IPNET header


From: Darren Reed <Darren.Reed () Sun COM>
Date: Sun, 26 Jul 2009 18:09:12 -0700

On 21/07/09 02:40 PM, Guy Harris wrote:

On Jul 21, 2009, at 1:35 PM, Guy Harris wrote:

struct dl_ipnetinfo {
    uint8_t        dli_version;
    uint8_t        dli_family;
    uint16_t    dli_htype;
    uint32_t    dli_pktlen;
    uint32_t    dli_ifindex;
    uint32_t    dli_grifindex;
    uint32_t    dli_zsrc;
    uint32_t    dli_zdst;
};

What byte order are the 2-byte and 4-byte integers in? Host, big-endian, or little-endian?

It's all big endian.

Darren

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


Current thread: