diff options
| author | Richard Alpe <richard.alpe@ericsson.com> | 2014-11-20 04:29:19 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2014-11-21 15:01:31 -0500 |
| commit | 27c21416727af73df45051acb05331c0f10e50f6 (patch) | |
| tree | 4de203dae4e71dc1ff9479b5be55656a4640b272 /include/uapi/linux | |
| parent | fd3cf2ad519f73c2f7a46460ebedf32ad246520c (diff) | |
tipc: add net set to new netlink api
Add TIPC_NL_NET_SET command to the new tipc netlink API.
This command can set the network id and network (tipc) address.
Netlink logical layout of network set message:
-> net
[ -> id ]
[ -> address ]
Signed-off-by: Richard Alpe <richard.alpe@ericsson.com>
Reviewed-by: Erik Hugne <erik.hugne@ericsson.com>
Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>
Acked-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/tipc_netlink.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/tipc_netlink.h b/include/uapi/linux/tipc_netlink.h index dcfd42002da7..fb980e27f425 100644 --- a/include/uapi/linux/tipc_netlink.h +++ b/include/uapi/linux/tipc_netlink.h | |||
| @@ -54,6 +54,7 @@ enum { | |||
| 54 | TIPC_NL_MEDIA_SET, | 54 | TIPC_NL_MEDIA_SET, |
| 55 | TIPC_NL_NODE_GET, | 55 | TIPC_NL_NODE_GET, |
| 56 | TIPC_NL_NET_GET, | 56 | TIPC_NL_NET_GET, |
| 57 | TIPC_NL_NET_SET, | ||
| 57 | 58 | ||
| 58 | __TIPC_NL_CMD_MAX, | 59 | __TIPC_NL_CMD_MAX, |
| 59 | TIPC_NL_CMD_MAX = __TIPC_NL_CMD_MAX - 1 | 60 | TIPC_NL_CMD_MAX = __TIPC_NL_CMD_MAX - 1 |
| @@ -139,6 +140,7 @@ enum { | |||
| 139 | enum { | 140 | enum { |
| 140 | TIPC_NLA_NET_UNSPEC, | 141 | TIPC_NLA_NET_UNSPEC, |
| 141 | TIPC_NLA_NET_ID, /* u32 */ | 142 | TIPC_NLA_NET_ID, /* u32 */ |
| 143 | TIPC_NLA_NET_ADDR, /* u32 */ | ||
| 142 | 144 | ||
| 143 | __TIPC_NLA_NET_MAX, | 145 | __TIPC_NLA_NET_MAX, |
| 144 | TIPC_NLA_NET_MAX = __TIPC_NLA_NET_MAX - 1 | 146 | TIPC_NLA_NET_MAX = __TIPC_NLA_NET_MAX - 1 |
