tcpdump mailing list archives

Re: [clearview-discuss] libdlpi with libpcap


From: Sebastien Roy <Sebastien.Roy () Sun COM>
Date: Wed, 13 Feb 2008 19:29:53 -0500

sagun shakya wrote:
sagun shakya wrote:
Sebastien Roy wrote:
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.

Yes, I think that would work just fine.

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


Current thread: