diff options
Diffstat (limited to 'include/linux/packet_diag.h')
-rw-r--r-- | include/linux/packet_diag.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/linux/packet_diag.h b/include/linux/packet_diag.h new file mode 100644 index 000000000000..fa19300ca334 --- /dev/null +++ b/include/linux/packet_diag.h | |||
@@ -0,0 +1,24 @@ | |||
1 | #ifndef __PACKET_DIAG_H__ | ||
2 | #define __PACKET_DIAG_H__ | ||
3 | |||
4 | #include <linux/types.h> | ||
5 | |||
6 | struct packet_diag_req { | ||
7 | __u8 sdiag_family; | ||
8 | __u8 sdiag_protocol; | ||
9 | __u16 pad; | ||
10 | __u32 pdiag_ino; | ||
11 | __u32 pdiag_show; | ||
12 | __u32 pdiag_cookie[2]; | ||
13 | }; | ||
14 | |||
15 | struct packet_diag_msg { | ||
16 | __u8 pdiag_family; | ||
17 | __u8 pdiag_type; | ||
18 | __u16 pdiag_num; | ||
19 | |||
20 | __u32 pdiag_ino; | ||
21 | __u32 pdiag_cookie[2]; | ||
22 | }; | ||
23 | |||
24 | #endif | ||