BPF based action

modulename: act_bpf.ko

configname: CONFIG_NET_ACT_BPF

Linux Kernel Configuration
└─>Networking support
└─>Networking options
└─>QoS and/or fair queueing
└─>BPF based action
In linux kernel since version 4 (release Date: 2015-04-12)  
Say Y here to execute BPF code on packets. The BPF code will decide
if the packet should be dropped or not.

If unsure, say N.

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

source code: