aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2007-10-26 18:42:59 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2007-10-26 18:42:59 +0000
commit31a60e22752d3daaa248ca10930f3cf4bc5f02e8 (patch)
tree18f5bd36118d98e2004fc0e5af866a280667278c /slirp/ip.h
parentFix Windows build failure, by Stefan Weil. (diff)
downloadqemu-kvm-31a60e22752d3daaa248ca10930f3cf4bc5f02e8.tar.gz
qemu-kvm-31a60e22752d3daaa248ca10930f3cf4bc5f02e8.tar.bz2
qemu-kvm-31a60e22752d3daaa248ca10930f3cf4bc5f02e8.zip
Make Slirp statistics gathering and output conditional to LOG_ENABLED
Add 'info slirp' command to monitor to display statistics Disable Slirp debugging code by default git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3451 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'slirp/ip.h')
-rw-r--r--slirp/ip.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/slirp/ip.h b/slirp/ip.h
index 371537d48..007facf3f 100644
--- a/slirp/ip.h
+++ b/slirp/ip.h
@@ -272,6 +272,7 @@ struct ipoption {
int8_t ipopt_list[MAX_IPOPTLEN]; /* options proper */
};
+#ifdef LOG_ENABLED
/*
* Structure attached to inpcb.ip_moptions and
* passed to ip_output when IP multicast options are in use.
@@ -306,8 +307,11 @@ struct ipstat {
};
extern struct ipstat ipstat;
+#endif
+
extern struct ipq ipq; /* ip reass. queue */
extern u_int16_t ip_id; /* ip packet ctr, for ids */
+
extern int ip_defttl; /* default IP ttl */
#endif