Commit e7ce6f7a authored by Cyrill Gorcunov's avatar Cyrill Gorcunov

net: unix-diag -- Drop double underscopes

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
parent c5eb61e8
#ifndef __UNIX_DIAG_H__ #ifndef __UNIX_DIAG_H__
#define __UNIX_DIAG_H__ #define __UNIX_DIAG_H__
#include "types.h"
struct unix_diag_req { struct unix_diag_req {
__u8 sdiag_family; u8 sdiag_family;
__u8 sdiag_protocol; u8 sdiag_protocol;
__u16 pad; u16 pad;
__u32 udiag_states; u32 udiag_states;
__u32 udiag_ino; u32 udiag_ino;
__u32 udiag_show; u32 udiag_show;
__u32 udiag_cookie[2]; u32 udiag_cookie[2];
}; };
#define UDIAG_SHOW_NAME 0x00000001 /* show name (not path) */ #define UDIAG_SHOW_NAME 0x00000001 /* show name (not path) */
...@@ -18,13 +20,13 @@ struct unix_diag_req { ...@@ -18,13 +20,13 @@ struct unix_diag_req {
#define UDIAG_SHOW_RQLEN 0x00000010 /* show skb receive queue len */ #define UDIAG_SHOW_RQLEN 0x00000010 /* show skb receive queue len */
struct unix_diag_msg { struct unix_diag_msg {
__u8 udiag_family; u8 udiag_family;
__u8 udiag_type; u8 udiag_type;
__u8 udiag_state; u8 udiag_state;
__u8 pad; u8 pad;
__u32 udiag_ino; u32 udiag_ino;
__u32 udiag_cookie[2]; u32 udiag_cookie[2];
}; };
enum { enum {
...@@ -38,8 +40,8 @@ enum { ...@@ -38,8 +40,8 @@ enum {
}; };
struct unix_diag_vfs { struct unix_diag_vfs {
__u32 udiag_vfs_ino; u32 udiag_vfs_ino;
__u32 udiag_vfs_dev; u32 udiag_vfs_dev;
}; };
#endif #endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment