>   How can I call pcap_open_dead() from a program that isn't libpcap,
> when the defines are in savefile.c.
>   Or should I be using DLT_EN10MB ??

Use DLT_EN10MB, or whatever the appropriate DLT_ type value is.

The name of the argument is "linktype", but it's a DLT_ linktype, not a
LINKTYPE_ linktype; the latter are used only in the capture files and
internally - only the DLT_ values are exported by the API (so as not to
break binary compatibility).
-
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

Reply via email to