diff options
Diffstat (limited to 'slirp/if.h')
-rw-r--r-- | slirp/if.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/slirp/if.h b/slirp/if.h index d49bcd599d..2fdc354508 100644 --- a/slirp/if.h +++ b/slirp/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 |