[NETFILTER]: x_tables: replace IPv4 dscp match by address family independent version
This replaces IPv4 dscp match by address family independent version. This also - utilizes dsfield.h to get the DS field in IPv4/IPv6 header, and - checks for the DSCP value from user space. - fixes Kconfig help text. Signed-off-by:Yasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp> Signed-off-by:
Patrick McHardy <kaber@trash.net> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/linux/netfilter/xt_dscp.h 23 additions, 0 deletionsinclude/linux/netfilter/xt_dscp.h
- include/linux/netfilter_ipv4/ipt_dscp.h 6 additions, 8 deletionsinclude/linux/netfilter_ipv4/ipt_dscp.h
- net/ipv4/netfilter/Kconfig 0 additions, 11 deletionsnet/ipv4/netfilter/Kconfig
- net/ipv4/netfilter/Makefile 0 additions, 1 deletionnet/ipv4/netfilter/Makefile
- net/ipv4/netfilter/ipt_dscp.c 0 additions, 54 deletionsnet/ipv4/netfilter/ipt_dscp.c
- net/netfilter/Kconfig 11 additions, 0 deletionsnet/netfilter/Kconfig
- net/netfilter/Makefile 1 addition, 0 deletionsnet/netfilter/Makefile
- net/netfilter/xt_dscp.c 113 additions, 0 deletionsnet/netfilter/xt_dscp.c
Please register or sign in to comment