tcpdump mailing list archives

future direction for the libpcap API


From: Darren Reed <darrenr () reed wattle id au>
Date: Mon, 26 May 2003 23:38:55 +1000 (EST)


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 ?

Darren
-
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: