tcpdump mailing list archives

Re: [clearview-discuss] libdlpi with libpcap


From: sagun shakya <Sagun.Shakya () Sun COM>
Date: Wed, 13 Feb 2008 19:14:51 -0500

sagun shakya wrote:
Sebastien Roy wrote:
Sorry, I hadn't generated the webrev. Here are the diffs against my previous updates.

http://cr.opensolaris.org/~sagun/webrev-seb-comments/

The webrev against the libpcap source are here:

http://cr.opensolaris.org/~sagun/libpcap-review2/
Great.  Only a couple of nits:

pcap-int.h:

* 71-98: These only apply when compiling with DLPI support. Perhaps Guy can answer this: Should there be some sort of #ifdef to make sure that these symbols don't pollute the namespace when compiled on other platforms?

* 376-385: Same comment here.

When compiling with libdlpi, a #ifdef HAVE_LIBDLPI can be done but for just dlpi, a HAVE_DLPI would need to be defined.
Another solution and probably a simpler one, is to just add a dlpisubs.h header file.


-Sagun

-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: