Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet comment
details: https://anonhg.NetBSD.org/src/rev/c95c99a3597a
branches: trunk
changeset: 778795:c95c99a3597a
user: yamt <yamt%NetBSD.org@localhost>
date: Fri Apr 13 15:35:57 2012 +0000
description:
comment
diffstat:
sys/netinet/tcp_input.c | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diffs (31 lines):
diff -r b9a659966c68 -r c95c99a3597a sys/netinet/tcp_input.c
--- a/sys/netinet/tcp_input.c Fri Apr 13 15:34:42 2012 +0000
+++ b/sys/netinet/tcp_input.c Fri Apr 13 15:35:57 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tcp_input.c,v 1.322 2012/03/22 20:34:39 drochner Exp $ */
+/* $NetBSD: tcp_input.c,v 1.323 2012/04/13 15:35:57 yamt Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -148,7 +148,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tcp_input.c,v 1.322 2012/03/22 20:34:39 drochner Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tcp_input.c,v 1.323 2012/04/13 15:35:57 yamt Exp $");
#include "opt_inet.h"
#include "opt_ipsec.h"
@@ -4531,6 +4531,12 @@
return (1);
}
+/*
+ * syn_cache_respond: (re)send SYN+ACK.
+ *
+ * returns 0 on success. otherwise returns an errno, typically ENOBUFS.
+ */
+
int
syn_cache_respond(struct syn_cache *sc, struct mbuf *m)
{
Home |
Main Index |
Thread Index |
Old Index