Re: netfilter C++

2002-05-16 Thread Fabrice MARIE
Hello, On Wednesday 15 May 2002 23:06, Dotan Lior wrote: Hi, I'm trying to write a class in C++ that will retreive statistics from iptable in order to find out the traffic on each rule in the NAT table. The problem is that after including iptables.h whenever I'm compiling I get:

Re: netfilter C++

2002-05-16 Thread Harald Welte
On Thu, May 16, 2002 at 03:15:11PM +0800, Fabrice MARIE wrote: I probably didn't understand.. but is there any reason to explicitely cast the pointer to become a 'void *' when the declaration specifically says it is returning an 'ipt_entry_target *' ? Shouldn't it be casted to

RE: netfilter C++

2002-05-15 Thread Glover George
PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Dotan LiorSent: Wednesday, May 15, 2002 10:07 AMTo: '[EMAIL PROTECTED]'Subject: netfilter C++ Hi, I'm trying to write a class in C++ that will retreive statistics from iptable in order to find out the traffic on each rule in the

Re: netfilter C++

2002-05-15 Thread Harald Welte
On Wed, May 15, 2002 at 06:06:51PM +0300, Dotan Lior wrote: Hi, I'm trying to write a class in C++ that will retreive statistics from iptable in order to find out the traffic on each rule in the NAT table. The problem is that after including iptables.h whenever I'm compiling I get: Please

RE: netfilter C++

2002-05-15 Thread Dotan Lior
Title: RE: netfilter C++ On Wed, May 15, 2002 at 06:06:51PM +0300, Dotan Lior wrote: Hi, I'm trying to write a class in C++ that will retreive statistics from iptable in order to find out the traffic on each rule in the NAT table. The problem is that after including iptables.h whenever