>>>>> "Guy" == Guy Harris <[EMAIL PROTECTED]> writes:
>> 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 ??
Guy> Use DLT_EN10MB, or whatever the appropriate DLT_ type value is.
Guy> The name of the argument is "linktype", but it's a DLT_ linktype,
Guy> not a
Guy> LINKTYPE_ linktype; the latter are used only in the capture files and
Guy> internally - only the DLT_ values are exported by the API (so as not
Thanks. I did do this, but it felt wrong.
Solidum has a simple ASCII/HEX format that we use for packet descriptions.
We already had pcap2simdata, I just did simdata2pcap so that I could use
tcpreplay.
About tcpreplay: www.anzen.com seems to have died. I have not yet poked
around the libnet-XXX site to see if they have adopted tcpreplay. Should we
adopt it?
] ON HUMILITY: to err is human. To moo, bovine. | firewalls [
] Michael Richardson, Sandelman Software Works, Ottawa, ON |net architect[
] [EMAIL PROTECTED] http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another NetBSD/notebook using, kernel hacking, security guy"); [
-
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