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

2007-12-10 Thread Guy Harris
Gianluca Varenni wrote: why not using a different return value instead of a string message which is human readable but not easily computer readable? Probably because that's the way that other pcap APIs work. That doesn't mean it's the *right* way to work, it just means it fits in with the wa

Re: [tcpdump-workers] [PATCH] enable memory mapped access to ethernet device for linux

2007-12-10 Thread Gianluca Varenni
- Original Message - From: "Alexander Dupuy" <[EMAIL PROTECTED]> To: Sent: Monday, December 10, 2007 10:42 AM Subject: Re: [tcpdump-workers] [PATCH] enable memory mapped access to ethernet device for linux Guy Harris asked: How does pcap_setbufsize() differ from pcap_setbuff()?

Re: [tcpdump-workers] [PATCH] enable memory mapped access to ethernet device for linux

2007-12-10 Thread Alexander Dupuy
Guy Harris asked: How does pcap_setbufsize() differ from pcap_setbuff()? The WinPcap pcap_setbuff function is defined as: int pcap_setbuff(pcap_t *p, int dim); I declared it as follows: extern int pcap_setbufsize(pcap_t *p, int bufsize, char *errbuf); extern int pcap_getbufsize(pcap_t *p, ch

Re: [tcpdump-workers] tcpdump patches...

2007-12-10 Thread Gianluca Varenni
- Original Message - From: "Michael Richardson" <[EMAIL PROTECTED]> To: Cc: "Peter Losher" <[EMAIL PROTECTED]>; "Joao Damas" <[EMAIL PROTECTED]> Sent: Sunday, December 09, 2007 2:53 PM Subject: Re: [tcpdump-workers] tcpdump patches... -BEGIN PGP SIGNED MESSAGE- Hash: SHA1