On Wed, Sep 19, 2001 at 11:19:14PM -0400, Ashley Thomas wrote:
> In the struct pcap which is defined in pcap-int.h,
> there is a variable : int cc;
> 
> do you know what is the use of that variable ?

It's used to remember how many packets in the buffer have not yet been
processed.  "pcap_dispatch()" and "pcap_loop()" can be told to process
no more than "cnt" packets ("cnt" is one of the arguments to those
routines), but the next time they're called they should pick up where
the previous call left off.
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe

Reply via email to