Re: [tcpdump-workers] NIC / driver performance with libpcap

2008-01-11 Thread Andy Howell
Stephen Donnelly wrote: On Wed, 2008-01-09 at 17:12 +0100, Fabian Schneider wrote: Hi Andy, The two metrics I looking at now are: - What throughput can I get before seeing dropped packets - CPU usage maybe you want to take a look at [1] where I have done exactly this for a special sys

Re: [tcpdump-workers] supporting extend 'open live capture' parametes

2008-01-11 Thread Andy Howell
Guy Harris wrote: Andy Howell wrote: How about having a generic list of options? Something like: typedef enum { END_OF_OPTS, PARAM_1, PARAM_2, } pcap_opts; typedef union { void *p; unsigned int u; } pcap_opt_value; That assumes that an option will either be an "unsigne