]> git.proxmox.com Git - mirror_iproute2.git/commit
ip route: enable per-route ecn settings via 'features' option
authorFlorian Westphal <fw@strlen.de>
Thu, 6 Nov 2014 21:15:32 +0000 (22:15 +0100)
committerStephen Hemminger <shemming@brocade.com>
Wed, 10 Dec 2014 00:26:39 +0000 (16:26 -0800)
commit29d1f730b87572a4e8165859dc04b0c89533ea4e
tree867795530d8bbeba07408b5f8f5b1a117af79ff1
parent81eaf677f91b53873871f66b8b549f99fb4b9cf5
ip route: enable per-route ecn settings via 'features' option

This permits to selectively enable explicit congestion notification via
the routing table.

If this ecn feature is not set, the kernel will use the tcp_ecn sysctl
to decide wheter to use ECN when establising a TCP connection.

At the time of this writing, the kernel supports ecn and allfrags, but
allfrags is of dubious value and not implemented here.

Example:

ip route change 192.168.2.0/24 dev eth0 features ecn

Signed-off-by: Florian Westphal <fw@strlen.de>
ip/iproute.c
man/man8/ip-route.8.in