summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_var.h
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>1998-03-18 02:37:50 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>1998-03-18 02:37:50 +0000
commitfba1cb914730e27df0cf27efce0189e2a50f5a3d (patch)
tree938cf1998cc54630761f0a843c7e3fedd1b46e73 /sys/netinet/tcp_var.h
parent193a51c4f31fbda0a6b7e185345494caaf5a73e1 (diff)
Add FreeBSD patch (check for SYN packets arriving at a socket in
LISTEN state with source address/port == destination address/port).
Diffstat (limited to 'sys/netinet/tcp_var.h')
-rw-r--r--sys/netinet/tcp_var.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h
index db09a476bd5..89c24a90815 100644
--- a/sys/netinet/tcp_var.h
+++ b/sys/netinet/tcp_var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_var.h,v 1.9 1998/01/24 18:21:39 mickey Exp $ */
+/* $OpenBSD: tcp_var.h,v 1.10 1998/03/18 02:37:49 angelos Exp $ */
/* $NetBSD: tcp_var.h,v 1.17 1996/02/13 23:44:24 christos Exp $ */
/*
@@ -225,6 +225,7 @@ struct tcpstat {
u_long tcps_pcbhashmiss; /* input packets missing pcb hash */
u_long tcps_noport; /* no socket on port */
+ u_long tcps_badsyn; /* SYN packet with src==dst rcv'ed */
};
/*