kernelconfig_penguin

"pkttype" packet type match support

modulename: xt_pkttype.ko
configname: CONFIG_NETFILTER_XT_MATCH_PKTTYPE

Linux Kernel Configuration
└─> Networking support
└─> Networking options
└─> Network packet filtering framework (Netfilter)
└─> Core Netfilter Configuration
└─> "pkttype" packet type match support

In linux kernel since version 2.6.16 (release Date: 2006-03-19)  

Packet type matching allows you to match a packet by
its "class", eg. BROADCAST, MULTICAST, ...

Typical usage:
iptables -A INPUT -m pkttype --pkt-type broadcast -j LOG

To compile it as a module, choose M here. If unsure, say N.


source code:


net/netfilter/xt_pkttype.c