mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-26 10:53:39 +01:00
e8f206cc60
Implement d_purge for krping_cdevsw. Submitted by: slavash@ MFC after: 3 days Sponsored by: Mellanox Technologies
21 lines
476 B
C
21 lines
476 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 krping_walk_cb_list(void (*)(struct krping_stats *, void *), void *);
|
|
int krping_sigpending(void);
|
|
void krping_cancel_all(void);
|