History

tipc: add 128-bit node identifier

We add a 128-bit node identity, as an alternative to the currently used 32-bit node address. For the sake of compatibility and to minimize message header changes we retain the existing 32-bit address field. When not set explicitly by the user, this field will be filled with a hash value generated from the much longer node identity, and be used as a shorthand value for the latter. We permit either the address or the identity to be set by configuration, but not both, so when the address value is set by a legacy user the corresponding 128-bit node identity is generated based on the that value.

Jon Maloy committed 8 years ago

Commit d50ccc21 parent 23fd3ea12 files · +148 −56Browse files

Showing the changes to include/uapi/linux (1 of 12 files). Show all

Unified · Split

include/uapi/linux/tipc_netlink.h+2−0
@@ -169,6 +169,8 @@ enum { · 168 unmodified lines
169 TIPC_NLA_NET_UNSPEC,169 TIPC_NLA_NET_UNSPEC,
170 TIPC_NLA_NET_ID, /* u32 */170 TIPC_NLA_NET_ID, /* u32 */
171 TIPC_NLA_NET_ADDR, /* u32 */171 TIPC_NLA_NET_ADDR, /* u32 */
172 TIPC_NLA_NET_NODEID, /* u64 */
173 TIPC_NLA_NET_NODEID_W1, /* u64 */
172 174
173 __TIPC_NLA_NET_MAX,175 __TIPC_NLA_NET_MAX,
174 TIPC_NLA_NET_MAX = __TIPC_NLA_NET_MAX - 1176 TIPC_NLA_NET_MAX = __TIPC_NLA_NET_MAX - 1