Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
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
Chen Yisong
lxc
Commits
0ec7171f
Unverified
Commit
0ec7171f
authored
Aug 11, 2018
by
Christian Brauner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macro: add NLMSG_ERROR
Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
92cce8ee
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
macro.h
src/lxc/macro.h
+4
-0
nl.c
src/lxc/nl.c
+0
-3
No files found.
src/lxc/macro.h
View file @
0ec7171f
...
@@ -187,4 +187,8 @@ extern int __build_bug_on_failed;
...
@@ -187,4 +187,8 @@ extern int __build_bug_on_failed;
#define RTM_NEWNSID 88
#define RTM_NEWNSID 88
#endif
#endif
#ifndef NLMSG_ERROR
#define NLMSG_ERROR 0x2
#endif
#endif
/* __LXC_MACRO_H */
#endif
/* __LXC_MACRO_H */
src/lxc/nl.c
View file @
0ec7171f
...
@@ -237,9 +237,6 @@ extern int netlink_send(struct nl_handler *handler, struct nlmsg *nlmsg)
...
@@ -237,9 +237,6 @@ extern int netlink_send(struct nl_handler *handler, struct nlmsg *nlmsg)
return
ret
;
return
ret
;
}
}
#ifndef NLMSG_ERROR
#define NLMSG_ERROR 0x2
#endif
extern
int
netlink_transaction
(
struct
nl_handler
*
handler
,
extern
int
netlink_transaction
(
struct
nl_handler
*
handler
,
struct
nlmsg
*
request
,
struct
nlmsg
*
answer
)
struct
nlmsg
*
request
,
struct
nlmsg
*
answer
)
{
{
...
...
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