tcpdump mailing list archives

RE: future direction for the libpcap API


From: "Fulvio Risso" <fulvio.risso () polito it>
Date: Wed, 28 May 2003 17:02:54 +0200



-----Original Message-----
From: owner-tcpdump-workers () sandelman ottawa on ca
[mailto:owner-tcpdump-workers () sandelman ottawa on ca]On Behalf Of Darren
Reed
Sent: lunedi 26 maggio 2003 15.39
To: tcpdump-workers () tcpdump org
Subject: [tcpdump-workers] future direction for the libpcap API



Looking through the API for libpcap, there appear to be a set of new
convienience functions for Win32:

int pcap_setbuff(pcap_t *p, int dim);
int pcap_setmode(pcap_t *p, int mode);
int pcap_sendpacket(pcap_t *p, u_char *buf, int size);
int pcap_setmintocopy(pcap_t *p, int size);

Is there any reason there shouldn't be an equivalent function for
Un*x, no matter how simple or trivial ?

ehmm... simple and trivial, that's the point.
I believe most of us will be happy to use these calls on UNIX, provided that
someone else implements the code...

        fulvio

-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:tcpdump-workers-request () tcpdump org?body=unsubscribe


Current thread: