2008-05-05 18:35:55 +00:00
|
|
|
/*
|
|
|
|
* $FreeBSD$
|
|
|
|
*/
|
|
|
|
|
|
|
|
struct krping_stats {
|
2013-10-14 23:02:05 +00:00
|
|
|
unsigned long long send_bytes;
|
|
|
|
unsigned long long send_msgs;
|
|
|
|
unsigned long long recv_bytes;
|
|
|
|
unsigned long long recv_msgs;
|
|
|
|
unsigned long long write_bytes;
|
|
|
|
unsigned long long write_msgs;
|
|
|
|
unsigned long long read_bytes;
|
|
|
|
unsigned long long read_msgs;
|
2013-08-23 19:12:29 +00:00
|
|
|
char name[16];
|
2008-05-05 18:35:55 +00:00
|
|
|
};
|
|
|
|
|
2013-10-14 23:02:05 +00:00
|
|
|
int krping_doit(char *, void *);
|
|
|
|
void krping_walk_cb_list(void (*)(struct krping_stats *, void *), void *);
|
2008-05-05 18:35:55 +00:00
|
|
|
void krping_init(void);
|
2013-10-14 23:02:05 +00:00
|
|
|
int krping_sigpending(void);
|