Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 340509
b: refs/heads/master
c: d900082
h: refs/heads/master
i:
  340507: 1a0a82a
v: v3
  • Loading branch information
Nicolas Dichtel authored and David S. Miller committed Oct 28, 2012
1 parent 1e9af0e commit 03deb6d
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f019948dbb388eacbc0fb61db1d30e686224df77
refs/heads/master: d900082bd9060dc955b181dae2f2adf86e27d747
22 changes: 22 additions & 0 deletions trunk/include/uapi/linux/netconf.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#ifndef _UAPI_LINUX_NETCONF_H_
#define _UAPI_LINUX_NETCONF_H_

#include <linux/types.h>
#include <linux/netlink.h>

struct netconfmsg {
__u8 ncm_family;
};

enum {
NETCONFA_UNSPEC,
NETCONFA_IFINDEX,
NETCONFA_FORWARDING,
__NETCONFA_MAX
};
#define NETCONFA_MAX (__NETCONFA_MAX - 1)

#define NETCONFA_IFINDEX_ALL -1
#define NETCONFA_IFINDEX_DEFAULT -2

#endif /* _UAPI_LINUX_NETCONF_H_ */
5 changes: 5 additions & 0 deletions trunk/include/uapi/linux/rtnetlink.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,11 @@ enum {
RTM_SETDCB,
#define RTM_SETDCB RTM_SETDCB

RTM_NEWNETCONF = 80,
#define RTM_NEWNETCONF RTM_NEWNETCONF
RTM_GETNETCONF = 82,
#define RTM_GETNETCONF RTM_GETNETCONF

__RTM_MAX,
#define RTM_MAX (((__RTM_MAX + 3) & ~3) - 1)
};
Expand Down

0 comments on commit 03deb6d

Please sign in to comment.