On Fri, 3 Aug 2001, Guy Harris wrote:
> > [shrip] What are the data link type constants that would be returned by
> > pcap_datalink().
>
> They're defined in <net/bpf.h> on BSD systems, and possibly on some
BTW, if we know the data link type, is there a simple way to determine the
link layer header size (other than manually checking each physical medium
documentation ?) If not (I think not) is there an authoritative document
defining (DLT_* data link type) -> (header size) function ?
Save yourself,
Nergal
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe