patch-2.4.0-prerelease linux/include/net/tcp_ecn.h

Next file: linux/init/main.c
Previous file: linux/include/net/tcp.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test12/linux/include/net/tcp_ecn.h linux/include/net/tcp_ecn.h
@@ -79,6 +79,12 @@
 }
 
 static __inline__ void
+TCP_ECN_withdraw_cwr(struct tcp_opt *tp)
+{
+	tp->ecn_flags &= ~TCP_ECN_DEMAND_CWR;
+}
+
+static __inline__ void
 TCP_ECN_check_ce(struct tcp_opt *tp, struct sk_buff *skb)
 {
 	if (tp->ecn_flags&TCP_ECN_OK) {
@@ -148,6 +154,7 @@
 #define TCP_ECN_rcv_ecn_echo(x...)	(0)
 #define TCP_ECN_openreq_child(x...)	do { } while (0)
 #define TCP_ECN_create_request(x...)	do { } while (0)
+#define TCP_ECN_withdraw_cwr(x...)	do { } while (0)
 
 
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)