http://www-900.ibm.com/developerworks/cn/linux/l-tcpip/index.shtml Using the LIBNET and LibPCAP Construction TCP / IP Protoco Software Remarks: Under my understanding: libnet is a constructor and sends each The library libpcap of a data message is a library libpcap of various data packets. This library provides a consistent programming interface for different platforms, on the platform where libpcap is installed, written by libpcap, which is free cross-platform. Under the Linux system, libpcap can use the BPF (Berkeley Packet Filter packet capture mechanism to get high performance. Snort, TCPDUMP, etc., the bottom of the captain analysis tool, is used in libpcap.
http://www.snort.org/docs/snort_manual/node2.html