aboutsummaryrefslogtreecommitdiff
path: root/slirp/tcp_var.h
diff options
context:
space:
mode:
Diffstat (limited to 'slirp/tcp_var.h')
-rw-r--r--slirp/tcp_var.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/slirp/tcp_var.h b/slirp/tcp_var.h
index 0d6cd245e6..82380f9365 100644
--- a/slirp/tcp_var.h
+++ b/slirp/tcp_var.h
@@ -185,6 +185,7 @@ typedef u_int32_t mbufp_32;
#endif
#define REASS_MBUF(ti) (*(mbufp_32 *)&((ti)->ti_t))
+#ifdef LOG_ENABLED
/*
* TCP statistics.
* Many of these should be kept per connection,
@@ -247,6 +248,8 @@ struct tcpstat {
};
extern struct tcpstat tcpstat; /* tcp statistics */
+#endif
+
extern u_int32_t tcp_now; /* for RFC 1323 timestamps */
#endif