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
34b2ba0c
Commit
34b2ba0c
authored
Jan 10, 2012
by
Cyrill Gorcunov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sockets: Update unix_diag.h
Signed-off-by:
Cyrill Gorcunov
<
gorcunov@openvz.org
>
parent
942355c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
unix_diag.h
include/unix_diag.h
+19
-0
No files found.
include/unix_diag.h
View file @
34b2ba0c
...
@@ -18,6 +18,7 @@ struct unix_diag_req {
...
@@ -18,6 +18,7 @@ struct unix_diag_req {
#define UDIAG_SHOW_PEER 0x00000004
/* show peer socket info */
#define UDIAG_SHOW_PEER 0x00000004
/* show peer socket info */
#define UDIAG_SHOW_ICONS 0x00000008
/* show pending connections */
#define UDIAG_SHOW_ICONS 0x00000008
/* show pending connections */
#define UDIAG_SHOW_RQLEN 0x00000010
/* show skb receive queue len */
#define UDIAG_SHOW_RQLEN 0x00000010
/* show skb receive queue len */
#define UDIAG_SHOW_MEMINFO 0x00000020
/* show memory info of a socket */
struct
unix_diag_msg
{
struct
unix_diag_msg
{
u8
udiag_family
;
u8
udiag_family
;
...
@@ -29,12 +30,25 @@ struct unix_diag_msg {
...
@@ -29,12 +30,25 @@ struct unix_diag_msg {
u32
udiag_cookie
[
2
];
u32
udiag_cookie
[
2
];
};
};
enum
{
SK_MEMINFO_RMEM_ALLOC
,
SK_MEMINFO_RCVBUF
,
SK_MEMINFO_WMEM_ALLOC
,
SK_MEMINFO_SNDBUF
,
SK_MEMINFO_FWD_ALLOC
,
SK_MEMINFO_WMEM_QUEUED
,
SK_MEMINFO_OPTMEM
,
SK_MEMINFO_VARS
,
};
enum
{
enum
{
UNIX_DIAG_NAME
,
UNIX_DIAG_NAME
,
UNIX_DIAG_VFS
,
UNIX_DIAG_VFS
,
UNIX_DIAG_PEER
,
UNIX_DIAG_PEER
,
UNIX_DIAG_ICONS
,
UNIX_DIAG_ICONS
,
UNIX_DIAG_RQLEN
,
UNIX_DIAG_RQLEN
,
UNIX_DIAG_MEMINFO
,
UNIX_DIAG_MAX
,
UNIX_DIAG_MAX
,
};
};
...
@@ -44,4 +58,9 @@ struct unix_diag_vfs {
...
@@ -44,4 +58,9 @@ struct unix_diag_vfs {
u32
udiag_vfs_dev
;
u32
udiag_vfs_dev
;
};
};
struct
unix_diag_rqlen
{
u32
udiag_rqueue
;
u32
udiag_wqueue
;
};
#endif
/* UNIX_DIAG_H__ */
#endif
/* UNIX_DIAG_H__ */
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