diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/Kbuild | 1 | ||||
| -rw-r--r-- | include/linux/packet_diag.h | 24 |
2 files changed, 25 insertions, 0 deletions
diff --git a/include/linux/Kbuild b/include/linux/Kbuild index d9a754474878..d823d603dadd 100644 --- a/include/linux/Kbuild +++ b/include/linux/Kbuild | |||
| @@ -195,6 +195,7 @@ header-y += in_route.h | |||
| 195 | header-y += sock_diag.h | 195 | header-y += sock_diag.h |
| 196 | header-y += inet_diag.h | 196 | header-y += inet_diag.h |
| 197 | header-y += unix_diag.h | 197 | header-y += unix_diag.h |
| 198 | header-y += packet_diag.h | ||
| 198 | header-y += inotify.h | 199 | header-y += inotify.h |
| 199 | header-y += input.h | 200 | header-y += input.h |
| 200 | header-y += ioctl.h | 201 | header-y += ioctl.h |
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 | ||
