aboutsummaryrefslogtreecommitdiff
path: root/ip.h
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
commit93ebd039aab8b830e0887dd59360f2ba8de75c07 (patch)
tree882428538d855a48e3b9aea35d571b1735d298cf /ip.h
parentaf0f1d0b0a47be5c19b89e1769810f4c69da5941 (diff)
downloadslirp-93ebd039aab8b830e0887dd59360f2ba8de75c07.zip
slirp-93ebd039aab8b830e0887dd59360f2ba8de75c07.tar.gz
slirp-93ebd039aab8b830e0887dd59360f2ba8de75c07.tar.bz2
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 'ip.h')
-rw-r--r--ip.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ip.h b/ip.h
index b7bb9b9..bc9d706 100644
--- a/ip.h
+++ b/ip.h
@@ -270,6 +270,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.
@@ -304,8 +305,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