summaryrefslogtreecommitdiff
path: root/slirp/icmp_var.h
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2009-06-24 14:42:29 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-06-29 08:52:46 -0500
commit0fe6a7f28455cd003b2668e77d5bd1e1cf15309e (patch)
tree450145c474ae8fed5ff03859e3ab2611afbc4dc6 /slirp/icmp_var.h
parent0d62c4cfe21752df4c1d6e2c2398f15d5eaa794a (diff)
downloadqemu-0fe6a7f28455cd003b2668e77d5bd1e1cf15309e.tar.gz
slirp: Drop statistic code
As agreed on the mailing list, there is no interest in keeping the usually disabled slirp statistics in the tree. So this patch removes them. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'slirp/icmp_var.h')
-rw-r--r--slirp/icmp_var.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/slirp/icmp_var.h b/slirp/icmp_var.h
index 99d4c9e6b8..edbb92251d 100644
--- a/slirp/icmp_var.h
+++ b/slirp/icmp_var.h
@@ -34,20 +34,6 @@
#define _NETINET_ICMP_VAR_H_
/*
- * Variables related to this implementation
- * of the internet control message protocol.
- */
-struct icmpstat {
-/* statistics related to input messages processed */
- u_long icps_received; /* #ICMP packets received */
- u_long icps_tooshort; /* packet < ICMP_MINLEN */
- u_long icps_checksum; /* bad checksum */
- u_long icps_notsupp; /* #ICMP packets not supported */
- u_long icps_badtype; /* #with bad type feild */
- u_long icps_reflect; /* number of responses */
-};
-
-/*
* Names for ICMP sysctl objects
*/
#define ICMPCTL_MASKREPL 1 /* allow replies to netmask requests */
@@ -60,8 +46,4 @@ struct icmpstat {
{ "stats", CTLTYPE_STRUCT }, \
}
-#ifdef LOG_ENABLED
-extern struct icmpstat icmpstat;
-#endif
-
#endif