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
aeb3f547
Commit
aeb3f547
authored
Oct 02, 2014
by
Pavel Emelyanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
net: Move NETLINK_INET_DIAG from socket.c to net.c
Signed-off-by:
Pavel Emelyanov
<
xemul@parallels.com
>
parent
8bd3b7a9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
net.c
net.c
+4
-0
sockets.c
sockets.c
+0
-4
No files found.
net.c
View file @
aeb3f547
...
...
@@ -24,6 +24,10 @@
#include "protobuf.h"
#include "protobuf/netdev.pb-c.h"
#ifndef NETLINK_SOCK_DIAG
#define NETLINK_SOCK_DIAG NETLINK_INET_DIAG
#endif
static
int
ns_fd
=
-
1
;
static
int
ns_sysfs_fd
=
-
1
;
...
...
sockets.c
View file @
aeb3f547
...
...
@@ -21,10 +21,6 @@
#include "net.h"
#include "fs-magic.h"
#ifndef NETLINK_SOCK_DIAG
#define NETLINK_SOCK_DIAG NETLINK_INET_DIAG
#endif
#ifndef SOCK_DIAG_BY_FAMILY
#define SOCK_DIAG_BY_FAMILY 20
#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