tcpdump mailing list archives

Re: Patch for Endace DAG card support in libpcap


From: Guy Harris <guy () alum mit edu>
Date: Tue, 22 Jul 2003 22:20:50 -0700

On Thu, May 29, 2003 at 10:06:54AM +1200, Jesper Peterson wrote:
An alternative to this would be to implement a more generic runtime
dispatcher possibly through function pointers in struct pcap_md. We
(Endace) would be willing to implement such a dispatcher if preferred.

That would be nice, as it could support other capture mechanisms
(various types of pods, etc.) although, given that your patch supports
building a libpcap that handles both the native capture mechanism and
DAG, I wouldn't require it before checking it in.

It looks as if you implemented my second suggestion in an earlier
thread, i.e. "if the device has a name beginning with 'dag', assume it's
a DAG device rather than a network device", which should also work with
the remote pcap stuff.  Is it the case that DAG devices have names
starting with "dag"?
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:tcpdump-workers-request () tcpdump org?body=unsubscribe


Current thread: