iptables: add connmark savedscp support
authorKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Wed, 5 Jun 2019 17:31:04 +0000 (18:31 +0100)
committerKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Thu, 25 Jul 2019 09:18:23 +0000 (10:18 +0100)
commit1aad1d17ed8bee2a22d235980a6c80b6dc1b74e0
treedf4c37b90dbe076d7b80d331c86bc73757e69f1e
parent12610a5620522c38178208e5559e89e17cbae2ec
iptables: add connmark savedscp support

iptables: connmark - add savedscp option

Naive user space front end to xt_connmark 'savedscp' option.

e.g.

iptables -A QOS_MARK_eth0 -t mangle -j CONNMARK --savedscp-mark 0xfc000000/0x01000000

Will save DSCP into the top 6 bits and OR 0x01 (ie set) the least
significant bit of most significant byte.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
package/network/utils/iptables/Makefile
package/network/utils/iptables/patches/010-add-savedscp-support.patch [new file with mode: 0644]