Packet Generator (USE WITH CAUTION)

modulename: pktgen.ko

configname: CONFIG_NET_PKTGEN

Linux Kernel Configuration
└─>Networking support
└─>Networking options
└─>Network testing
└─>Packet Generator (USE WITH CAUTION)
In linux kernel since version 2.6.12 )
This module will inject preconfigured packets, at a configurable
rate, out of a given interface. It is used for network interface
stress testing and performance analysis. If you don't understand
what was just said, you don't need it: say N. <a href="https://www.kernel.org/doc/Documentation">Documentation</a> on how to use the packet generator can be found
at <a href="https://www.kernel.org/doc/Documentation/networking/pktgen.rst">Documentation/networking/pktgen.rst</a>.

To compile this code as a module, choose M here: the
module will be called pktgen.
source code: