1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
$NetBSD: patch-ah,v 1.5 1999/12/25 05:28:35 kim Exp $
--- packet.c.orig Wed May 12 07:19:27 1999
+++ packet.c Fri Dec 24 21:50:42 1999
@@ -829,6 +829,7 @@
{
/* Set IP options for an interactive connection. Use IPTOS_LOWDELAY
and TCP_NODELAY. */
+#if 0
#ifdef IPTOS_LOWDELAY
int lowdelay = IPTOS_LOWDELAY;
if (setsockopt(connection_in, IPPROTO_IP, IP_TOS, (void *)&lowdelay,
@@ -840,11 +841,13 @@
sizeof(on)) < 0)
error("setsockopt TCP_NODELAY: %.100s", strerror(errno));
#endif /* TCP_NODELAY */
+#endif /* 0 */
}
else
{
/* Set IP options for a non-interactive connection. Use
IPTOS_THROUGHPUT. */
+#if 0
#ifdef IPTOS_THROUGHPUT
int throughput = IPTOS_THROUGHPUT;
if (setsockopt(connection_in, IPPROTO_IP, IP_TOS, (void *)&throughput,
@@ -856,6 +859,7 @@
sizeof(off)) < 0)
error("setsockopt TCP_NODELAY: %.100s", strerror(errno));
#endif /* TCP_NODELAY */
+#endif /* 0 */
}
}
|