From b1b22865fc4567c79793620400109f2220335f84 Mon Sep 17 00:00:00 2001 From: Jiaheng Hu Date: Mon, 15 Jun 2020 17:57:10 +0000 Subject: sys/linux: add descriptions for new tipc crypto APIs Added the TIPC_NLA_NODE_KEY and TIPC_NLA_NODE_ID fields in the socket_tipc_netlink.txt file. Created a new struct to hold the key. Created two new descriptions for TIPC_NL_KEY_SET and TIPC_NL_KEY_FLUSH. The related kernel commits can be seen in https://git.kernel.org/linus/134bdac39766 and https://git.kernel.org/linus/e1f32190cf7d. --- sys/linux/socket_tipc_netlink_arm.const | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sys/linux/socket_tipc_netlink_arm.const') diff --git a/sys/linux/socket_tipc_netlink_arm.const b/sys/linux/socket_tipc_netlink_arm.const index 04865d73f..51c5addc2 100644 --- a/sys/linux/socket_tipc_netlink_arm.const +++ b/sys/linux/socket_tipc_netlink_arm.const @@ -1,4 +1,7 @@ # AUTOGENERATED FILE +TIPC_AEAD_ALG_NAME = 32 +TIPC_AEAD_KEYLEN_MAX = 36 +TIPC_AEAD_KEYLEN_MIN = 20 TIPC_CMD_DISABLE_BEARER = 16642 TIPC_CMD_ENABLE_BEARER = 16641 TIPC_CMD_GET_BEARER_NAMES = 3 @@ -44,6 +47,8 @@ TIPC_NLA_NET_NODEID = 3 TIPC_NLA_NET_NODEID_W1 = 4 TIPC_NLA_NODE = 6 TIPC_NLA_NODE_ADDR = 1 +TIPC_NLA_NODE_ID = 3 +TIPC_NLA_NODE_KEY = 4 TIPC_NLA_NODE_UP = 2 TIPC_NLA_PROP_MTU = 4 TIPC_NLA_PROP_PRIO = 1 @@ -65,6 +70,8 @@ TIPC_NL_BEARER_DISABLE = 2 TIPC_NL_BEARER_ENABLE = 3 TIPC_NL_BEARER_GET = 4 TIPC_NL_BEARER_SET = 5 +TIPC_NL_KEY_FLUSH = 24 +TIPC_NL_KEY_SET = 23 TIPC_NL_LINK_GET = 8 TIPC_NL_LINK_RESET_STATS = 10 TIPC_NL_LINK_SET = 9 -- cgit mrf-deployment