IP Detection with libpcap - The Packet Capturing Library
- Performs packet capturing on a network interface ("eth0", "ppp0"...) or
several interfaces.
- 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.
Originally written by
guy keren