summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_input.c
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>1999-09-14 16:14:05 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>1999-09-14 16:14:05 +0000
commitf861330504a73aecaca721e0ce1752528377770e (patch)
treec6fbbc2bedee59ceabf7b3713a20820834221393 /sys/netinet/tcp_input.c
parent7dde7bbd344cae9eec8c52b06d37c09dca2b4bf2 (diff)
Notes
Diffstat (limited to 'sys/netinet/tcp_input.c')
-rw-r--r--sys/netinet/tcp_input.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index 7fa0da2cd779..e45c64b6c9d1 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -94,18 +94,18 @@ SYSCTL_INT(_net_inet_tcp, OID_AUTO, delayed_ack, CTLFLAG_RW,
&tcp_delack_enabled, 0,
"Delay ACK to try and piggyback it onto a data packet");
+#ifdef TCP_DROP_SYNFIN
+static int drop_synfin = 0;
+SYSCTL_INT(_net_inet_tcp, OID_AUTO, drop_synfin, CTLFLAG_RW,
+ &drop_synfin, 0, "Drop TCP packets with SYN+FIN set");
+#endif
+
#ifdef TCP_RESTRICT_RST
static int restrict_rst = 0;
SYSCTL_INT(_net_inet_tcp, OID_AUTO, restrict_rst, CTLFLAG_RW,
&restrict_rst, 0, "Restrict RST emission");
#endif
-#ifdef TCP_DROP_SYNFIN
-static int drop_synfin = 0;
-SYSCTL_INT(_net_inet_tcp, OID_AUTO, drop_synfin, CTLFLAG_RW,
- &drop_synfin, 0, "Drop TCP packets with FIN+ACK set");
-#endif
-
struct inpcbhead tcb;
struct inpcbinfo tcbinfo;