xref: /freebsd/sys/contrib/rdma/krping/krping.h (revision 76b28ad6ab6dc8d4a62cb7de7f143595be535813)
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 *, void *);
18 void krping_walk_cb_list(void (*)(struct krping_stats *, void *), void *);
19 void krping_init(void);
20 void krping_printf(void *, const char *, ...);
21 int krping_sigpending(void);
22