Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
criu
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhul
criu
Commits
e7ce6f7a
Commit
e7ce6f7a
authored
Dec 26, 2011
by
Cyrill Gorcunov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
net: unix-diag -- Drop double underscopes
Signed-off-by:
Cyrill Gorcunov
<
gorcunov@openvz.org
>
parent
c5eb61e8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
15 deletions
+17
-15
unix_diag.h
include/unix_diag.h
+17
-15
No files found.
include/unix_diag.h
View file @
e7ce6f7a
#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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment