A Look at the Netsniff-NG Toolkit
The Netsniff-NG toolkit is a suite of high performance networking tools. Its two major players are netsniff-ng and trafgen which both utilize PF_PACKET's zero-copy RX and TX RING's. Netsniff-NG, in its totality, finds use in areas such as network development and analysis, debugging, auditing, and network reconnaissance.
Examples and practical uses will be shown and touched upon. If you need a very fast full content packet sniffer/recorder and generator, and are unfamiliar with netsniff-ng, you will want to listen up.