xref: /freebsd/sys/contrib/rdma/krping/krping.h (revision e6bfd18d21b225af6a0ed67ceeaf1293b7b9eba5)
1 /*
2  * $FreeBSD$
3  */
4 
5 struct krping_stats {
6 	unsigned long long send_bytes;
7 	unsigned long long send_msgs;
8 	unsigned long long recv_bytes;
9 	unsigned long long recv_msgs;
10 	unsigned long long write_bytes;
11 	unsigned long long write_msgs;
12 	unsigned long long read_bytes;
13 	unsigned long long read_msgs;
14 	char name[16];
15 };
16 
17 int krping_doit(char *);
18 void krping_walk_cb_list(void (*)(struct krping_stats *, void *), void *);
19 int krping_sigpending(void);
20 void krping_cancel_all(void);
21