"dscp" and "tos" match support

modulename: xt_dscp.ko

configname: CONFIG_NETFILTER_XT_MATCH_DSCP

Linux Kernel Configuration
└─>Networking support
└─>Networking options
└─>Network packet filtering framework (Netfilter)
└─>Core Netfilter Configuration
└─>"dscp" and "tos" match support
In linux kernel since version 2.6.19 (release Date: 2006-11-29)  
This option adds a `DSCP' match, which allows you to match against
the IPv4/IPv6 header DSCP field (differentiated services codepoint).

The DSCP field can have any value between 0x0 and 0x3f inclusive.

It will also add a "tos" match, which allows you to match packets
based on the Type Of Service fields of the IPv4 packet (which share
the same bits as DSCP).

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

source code: