Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet wrap INET-only code by #if defined(INET).
details: https://anonhg.NetBSD.org/src/rev/85c4ef5bd979
branches: trunk
changeset: 583519:85c4ef5bd979
user: yamt <yamt%NetBSD.org@localhost>
date: Wed Aug 10 13:07:21 2005 +0000
description:
wrap INET-only code by #if defined(INET).
diffstat:
sys/netinet/tcp_output.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (31 lines):
diff -r 157ebf755f4c -r 85c4ef5bd979 sys/netinet/tcp_output.c
--- a/sys/netinet/tcp_output.c Wed Aug 10 13:06:49 2005 +0000
+++ b/sys/netinet/tcp_output.c Wed Aug 10 13:07:21 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tcp_output.c,v 1.138 2005/08/10 12:58:37 yamt Exp $ */
+/* $NetBSD: tcp_output.c,v 1.139 2005/08/10 13:07:21 yamt Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -140,7 +140,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tcp_output.c,v 1.138 2005/08/10 12:58:37 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tcp_output.c,v 1.139 2005/08/10 13:07:21 yamt Exp $");
#include "opt_inet.h"
#include "opt_ipsec.h"
@@ -1577,6 +1577,7 @@
tp->t_rxtshift++;
}
+#if defined(INET)
/*
* tcp4_segment: handle M_CSUM_TSOv4 by software.
*
@@ -1702,3 +1703,4 @@
return error;
}
+#endif /* defined(INET) */
Home |
Main Index |
Thread Index |
Old Index