IP Detection with libpcap - The Packet Capturing Library
Originally written by
- Performs packet capturing on a network interface ("eth0", "ppp0"...) or
- Identifies the encapsulation used on that interface.
- Activates a programmer-defined callback function for each captured packet.
- Note: might miss packets if they are coming too fast.