Re: [tcpdump-workers] Libpcap reentrancy and PF_RING patch

2008-01-05 Thread Guy Harris
Luca Deri wrote: On Dec 31, 2007, at 10:21 PM, Guy Harris wrote: You might want to split the PF_RING support and the reentrancy changes into two patches. I have enclosed the patch for PF_RING. I've checked in Paolo Abeni's patch for memory-mapped PF_PACKET access; your patch isn't a contex

Re: [tcpdump-workers] [PACTH] enable memory mapped access to ethernet

2008-01-05 Thread Guy Harris
Paolo Abeni wrote: In this revision I try to handle the issues pinpointed by Guy Harris in his previous posts. OK, I've checked the patch into the main and 1.0 branches, with some small typoes fixed in comments. - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscri

Re: [tcpdump-workers] libpcap0.9.8 compile error on FreeBSD 5.4

2008-01-05 Thread lei wei
Max, It works! But it came out a new error as follows: gcc -O2 -I. -I/usr/local/dag/include -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./pcap-dag.c ./pcap-dag.c: In function `dag_open_live': ./pcap-dag.c:721: error: `p' undeclared (first use in this function) ./pcap-dag.c:721: error: (Eac

Re: [tcpdump-workers] libpcap0.9.8 compile error on FreeBSD 5.4

2008-01-05 Thread Max Laier
On Saturday 05 January 2008, lei wei wrote: > Max, > > I don't quite understand "surrounding struct pflog_softc in #ifdef > _KERNEL.". Could you give me some more detailed instruction? > Thanks for the help. See attached. Apply to either the installed version directly (/usr/include/net/if_pflog.

Re: [tcpdump-workers] libpcap0.9.8 compile error on FreeBSD 5.4

2008-01-05 Thread lei wei
Max, I don't quite understand "surrounding struct pflog_softc in #ifdef _KERNEL.". Could you give me some more detailed instruction? Thanks for the help. On Jan 5, 2008 3:45 PM, Max Laier <[EMAIL PROTECTED]> wrote: > On Saturday 05 January 2008, lei wei wrote: > > Hello, > > > > When I was try

Re: [tcpdump-workers] libpcap0.9.8 compile error on FreeBSD 5.4

2008-01-05 Thread Max Laier
On Saturday 05 January 2008, lei wei wrote: > Hello, > > When I was trying to compile libpcap0.9.8 with DAG-enabled on > FreeBSD5.4, I received the following compile error: > > [EMAIL PROTECTED] make > gcc -O2 -I. -I/usr/local/include -DHAVE_CONFIG_H > -D_U_="__attribute__((unused))" -c ./gencode.

[tcpdump-workers] libpcap0.9.8 compile error on FreeBSD 5.4

2008-01-05 Thread lei wei
Hello, When I was trying to compile libpcap0.9.8 with DAG-enabled on FreeBSD5.4, I received the following compile error: [EMAIL PROTECTED] make gcc -O2 -I. -I/usr/local/include -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./gencode.c In file included from ./gencode.c:80: /usr/include/net/i