Logo Search packages:      
Sourcecode: nmap version File versions

#define PCAP_SAMP_FIRST_AFTER_N_MS   2

It defines that we have to return 1 packet every N milliseconds.

In this case, the 'value' field of the 'pcap_samp' structure indicates the 'waiting time' in milliseconds before one packet got accepted. In other words, if 'value = 10', the first packet is returned to the caller; the next returned one will be the first packet that arrives when 10ms have elapsed.

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


Generated by  Doxygen 1.6.0   Back to index