Logo Search packages:      
Sourcecode: nmap version File versions

#define PCAP_SAMP_1_EVERY_N   1

It defines that only 1 out of N packets must be returned to the user.

In this case, the 'value' field of the 'pcap_samp' structure indicates the number of packets (minus 1) that must be discarded before one packet got accepted. In other words, if 'value = 10', the first packet is returned to the caller, while the following 9 are discarded.

Definition at line 249 of file remote-ext.h.


Generated by  Doxygen 1.6.0   Back to index