aboutsummaryrefslogtreecommitdiff
path: root/if.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
commit284cade97e6d168b1b6a595bede1cdc9da236bb0 (patch)
treee9864cb94a318d16e4c43937d7a75abcc6df84f7 /if.h
parentd89b93db4f609ff4a4728465fe9066b1027bf077 (diff)
downloadslirp-284cade97e6d168b1b6a595bede1cdc9da236bb0.zip
slirp-284cade97e6d168b1b6a595bede1cdc9da236bb0.tar.gz
slirp-284cade97e6d168b1b6a595bede1cdc9da236bb0.tar.bz2
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 'if.h')
-rw-r--r--if.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/if.h b/if.h
index e72a406..86b8713 100644
--- a/if.h
+++ b/if.h
@@ -28,24 +28,4 @@ extern struct mbuf *next_m;
#define ifs_init(ifm) ((ifm)->ifs_next = (ifm)->ifs_prev = (ifm))
-#ifdef LOG_ENABLED
-/* Interface statistics */
-struct slirp_ifstats {
- u_int out_pkts; /* Output packets */
- u_int out_bytes; /* Output bytes */
- u_int out_errpkts; /* Output Error Packets */
- u_int out_errbytes; /* Output Error Bytes */
- u_int in_pkts; /* Input packets */
- u_int in_bytes; /* Input bytes */
- u_int in_errpkts; /* Input Error Packets */
- u_int in_errbytes; /* Input Error Bytes */
-
- u_int bytes_saved; /* Number of bytes that compression "saved" */
- /* ie: number of bytes that didn't need to be sent over the link
- * because of compression */
-
- u_int in_mbad; /* Bad incoming packets */
-};
-#endif
-
#endif