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. Acked-by:Ying Xue <ying.xue@windriver.com> Signed-off-by:
Jon Maloy <jon.maloy@ericsson.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/uapi/linux/tipc_netlink.h 2 additions, 0 deletionsinclude/uapi/linux/tipc_netlink.h
- net/tipc/addr.c 67 additions, 14 deletionsnet/tipc/addr.c
- net/tipc/addr.h 23 additions, 5 deletionsnet/tipc/addr.h
- net/tipc/core.c 3 additions, 1 deletionnet/tipc/core.c
- net/tipc/core.h 5 additions, 1 deletionnet/tipc/core.h
- net/tipc/discover.c 1 addition, 3 deletionsnet/tipc/discover.c
- net/tipc/link.c 5 additions, 1 deletionnet/tipc/link.c
- net/tipc/name_distr.c 2 additions, 4 deletionsnet/tipc/name_distr.c
- net/tipc/net.c 35 additions, 16 deletionsnet/tipc/net.c
- net/tipc/net.h 1 addition, 3 deletionsnet/tipc/net.h
- net/tipc/node.c 2 additions, 6 deletionsnet/tipc/node.c
- net/tipc/node.h 2 additions, 2 deletionsnet/tipc/node.h
Loading
Please register or sign in to comment