freebsd-nq/sys/contrib/rdma/krping/krping.h
Navdeep Parhar 0082e6a570 Update krping to the latest upstream code. Move all the FreeBSD
specific parts to krping_dev.c, which leaves the other files as
close to their upstream versions as possible.
2013-10-14 23:02:05 +00:00

22 lines
525 B
C

/*
* $FreeBSD$
*/
struct krping_stats {
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;
char name[16];
};
int krping_doit(char *, void *);
void krping_walk_cb_list(void (*)(struct krping_stats *, void *), void *);
void krping_init(void);
void krping_printf(void *, const char *, ...);
int krping_sigpending(void);