tcpdump mailing list archives

Re: [clearview-discuss] libdlpi with libpcap


From: Guy Harris <guy () alum mit edu>
Date: Sat, 17 Nov 2007 21:03:09 -0800

sagun shakya wrote:

I have developed a prototype with the option 1 proposed. I would like to
hear from you if you have any comments or feedback.
The changes made to the libpcap library can be seen at the link below:

http://cr.opensolaris.org/~sagun/libpcap/

Unless you expect there to be systems that have libdlpi but that don't have DLIOCRAW, there's no point in having the #if defined(DLIOCRAW) and #ifdef DLIOCRAW tests.

In addition, unless you expect there to be systems that have libdlpi but that don't have the bufmod streams module, there's no point in having the #ifdef HAVE_SYS_BUFMOD_H tests, either.

In addition, is there a libdlpi routine for *sending* packets? If so, that's what pcap_inject_libdlpi() should be using.

Are there systems that support libdlpi and SunATM? If so, you should propagate the SunATM code to pcap-lidlpi.c.
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: