Re: [tcpdump-workers] libpcap: patches required for OpenSolaris/SXCE build >= 125

2009-11-25 Thread Guy Harris
On Nov 25, 2009, at 11:42 AM, Guy Harris wrote: Can I plug a Cisco cable modem head-end device into an IPNET device and have it put DOCSIS frames inside IPNET layer-1 framing, so that you get packets with *no* IPNET header? I suspect the answer is "no", in which case you should not set is

Re: [tcpdump-workers] libpcap: patches required for OpenSolaris/SXCE build >= 125

2009-11-25 Thread Guy Harris
On Nov 24, 2009, at 3:55 PM, Darren Reed wrote: --- Makefile.in.distMon Oct 27 18:26:13 2008 +++ Makefile.in Wed Oct 21 21:36:27 2009 @@ -44,6 +44,7 @@ # You shouldn't need to edit anything below. # +LD = /usr/bin/ld CC = @CC@ CCOPT = @V_CCOPT@ INCLS = -I. @V_INCLS@ @@ -326,7 +327,7 @@ # l

Re: [tcpdump-workers] libpcap: patches required for OpenSolaris/SXCE build >= 125

2009-11-25 Thread Guy Harris
On Nov 24, 2009, at 3:55 PM, Darren Reed wrote: #ifdef HAVE_ZEROCOPY_BPF #include @@ -510,7 +511,8 @@ if (v == DLT_EN10MB) { is_ethernet = 1; for (i = 0; i < bdlp->bfl_len; i++) { - if (bdlp->bfl_list

Re: [tcpdump-workers] libpcap: patches required for OpenSolaris/SXCE build >= 125

2009-11-24 Thread Michael Richardson
I applied the patches. The Makefile.in patch has changed, I think the command is now derived by configure. Also the DLT_CHOICE macro was already there, I think maybe Guy did that, but the rest was not. Pushed into libpcap, passed tcpdump make check. Please run that on Solaris and confirm. -- ]

[tcpdump-workers] libpcap: patches required for OpenSolaris/SXCE build >= 125

2009-11-24 Thread Darren Reed
To compile libpcap on OpenSolaris (or Solaris Express Community Edition) build 125 and later to use the native BPF with both IPNET and traditional MAC (ethernet, etc) packet sniffing, the attached patches are required. The attached patches represent what's in our internal build tree for libpcap.