]> err.no Git - linux-2.6/commit
[NET]: Introduce INET_ECN_set_ce() function
authorThomas Graf <tgraf@suug.ch>
Sat, 5 Nov 2005 20:14:04 +0000 (21:14 +0100)
committerThomas Graf <tgr@axs.localdomain>
Sat, 5 Nov 2005 21:02:24 +0000 (22:02 +0100)
commit2566a509cacc8b8eaea2e5b54068816c9cfb41c2
tree1413b02bd2e8a7c3046f10ed92af49e165ea8369
parenta783474591f2eed0348e08b15934fa9a25e23b3e
[NET]: Introduce INET_ECN_set_ce() function

Changes IP_ECN_set_ce() and IP6_ECN_set_ce() to return 0 if the CE
bits could not bet set because none of the ECT bits are set or 1
if the CE bits are already set or have been successfully set.

Introduces INET_ECN_set_ce(skb) to enable CE bits for all supported
protocols.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
include/net/inet_ecn.h