diff options
author | Pavel Emelyanov <xemul@parallels.com> | 2011-12-14 21:44:35 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-12-16 13:48:27 -0500 |
commit | 22931d3b906cd0a1726a49a09713f9220a5fab8a (patch) | |
tree | 33e303ac5be89b1490e6beabd311ca3e6d6860bc /include/linux/unix_diag.h | |
parent | fa7ff56f75add89bbedaf2dfcfa8f6661e8e8b3a (diff) |
unix_diag: Basic module skeleton
Includes basic module_init/_exit functionality, dump/get_exact stubs
and declares the basic API structures for request and response.
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/unix_diag.h')
-rw-r--r-- | include/linux/unix_diag.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/linux/unix_diag.h b/include/linux/unix_diag.h new file mode 100644 index 000000000000..445184a85763 --- /dev/null +++ b/include/linux/unix_diag.h | |||
@@ -0,0 +1,24 @@ | |||
1 | #ifndef __UNIX_DIAG_H__ | ||
2 | #define __UNIX_DIAG_H__ | ||
3 | |||
4 | struct unix_diag_req { | ||
5 | __u8 sdiag_family; | ||
6 | __u8 sdiag_protocol; | ||
7 | __u16 pad; | ||
8 | __u32 udiag_states; | ||
9 | __u32 udiag_ino; | ||
10 | __u32 udiag_show; | ||
11 | __u32 udiag_cookie[2]; | ||
12 | }; | ||
13 | |||
14 | struct unix_diag_msg { | ||
15 | __u8 udiag_family; | ||
16 | __u8 udiag_type; | ||
17 | __u8 udiag_state; | ||
18 | __u8 pad; | ||
19 | |||
20 | __u32 udiag_ino; | ||
21 | __u32 udiag_cookie[2]; | ||
22 | }; | ||
23 | |||
24 | #endif | ||