Lines Matching full:packets
22 pcap_loop, pcap_dispatch \- process packets from a live capture or savefile
40 processes packets from a live capture or ``savefile'' until
42 packets are processed, the end of the ``savefile'' is
55 is equivalent to infinity, so that packets are processed until another
59 processes packets from a live capture or ``savefile'' until
61 packets are processed, the end of the current bufferful of packets is
68 is the maximum number of packets to process before returning, but is not
70 bufferful of packets is read at a time, so fewer than
72 packets may be processed. A value of
78 causes all the packets received in one buffer to be processed when
79 reading a live capture, and causes all the packets in the file to be
83 timeout expires when there are no packets available,
86 packets to process. Applications should be prepared for this to happen,
131 packets received unless and until
135 all subsequent packets will have a link-layer header of the type
141 assume that the packets for a given capture or ``savefile`` will have
159 is exhausted or if, when reading from a ``savefile'', no more packets
164 before any packets were processed,
173 read more packets.
176 returns the number of packets processed on success; this can be 0 if no
177 packets were read from a live capture (if, for example, they were
180 packets arrive, the timeout expires before any packets arrive, or if the
182 packets were available to be read) or if no more packets are available
187 before any packets were processed,