Simple Example (Debug)

modulename: act_simple.ko

configname: CONFIG_NET_ACT_SIMP

Linux Kernel Configuration
└─>Networking support
└─>Networking options
└─>QoS and/or fair queueing
└─>Simple Example (Debug)
In linux kernel since version 2.6.12  
Say Y here to add a simple action for demonstration purposes.
It is meant as an example and for debugging purposes. It will
print a configured policy string followed by the packet count
to the console for every packet that passes by.

If unsure, say N.

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

source code: