diff options
author | Jan Kiszka | 2009-06-24 14:42:29 +0200 |
---|---|---|
committer | Anthony Liguori | 2009-06-29 15:52:46 +0200 |
commit | 0fe6a7f28455cd003b2668e77d5bd1e1cf15309e (patch) | |
tree | 450145c474ae8fed5ff03859e3ab2611afbc4dc6 /slirp/icmp_var.h | |
parent | slirp: Drop dead code (diff) | |
download | qemu-0fe6a7f28455cd003b2668e77d5bd1e1cf15309e.tar.gz qemu-0fe6a7f28455cd003b2668e77d5bd1e1cf15309e.tar.xz qemu-0fe6a7f28455cd003b2668e77d5bd1e1cf15309e.zip |
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.h | 18 |
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 |