I am developing network status monitoring program using libpcap.
Most network probe reads all the packets at a given time.
I am making a tool which reads a packet once every 10 times.
So that the data which will be analyzed further can be made small
and the overall(not exact) network status can be analyzed faster.
libpcap always reads all the packet.
Is there any function which drops and skip to the next packet?
How can I implement this feature?
I will be much pleased if you help me or give me even a small hint.
Thank you very much.....