From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jon Maloy Subject: [net-next 0/8] tipc: introduce 128-bit auto-configurable node id Date: Thu, 22 Mar 2018 20:42:44 +0100 Message-ID: <1521747772-7727-1-git-send-email-jon.maloy@ericsson.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: tipc-discussion@lists.sourceforge.net, mohan.krishna.ghanta.krishnamurthy@ericsson.com To: , Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tipc-discussion-bounces@lists.sourceforge.net List-Id: netdev.vger.kernel.org We introduce a 128-bit free-format node identity as an alternative to the legacy structured 32-bit node address. We also make configuration of this identity optional; if a bearer is enabled without a pre-configured node id it will be set automatically based on the used interface's MAC or IP address. Jon Maloy (8): tipc: refactor function tipc_enable_bearer() tipc: some cleanups in the file discover.c tipc: remove restrictions on node address values tipc: allow closest-first lookup algorithm when legacy address is configured tipc: remove direct accesses to own_addr field in struct tipc_net tipc: add 128-bit node identifier tipc: handle collisions of 32-bit node address hash values tipc: obtain node identity from interface by default include/uapi/linux/tipc_netlink.h | 2 + net/tipc/addr.c | 128 +++++++------ net/tipc/addr.h | 37 ++-- net/tipc/bearer.c | 152 +++++++-------- net/tipc/bearer.h | 2 +- net/tipc/core.c | 6 +- net/tipc/core.h | 11 +- net/tipc/discover.c | 392 ++++++++++++++++++++++---------------- net/tipc/discover.h | 8 +- net/tipc/link.c | 33 ++-- net/tipc/link.h | 4 +- net/tipc/msg.h | 23 ++- net/tipc/name_distr.c | 17 +- net/tipc/name_table.c | 14 +- net/tipc/net.c | 80 ++++---- net/tipc/net.h | 5 +- net/tipc/node.c | 101 ++++++++-- net/tipc/node.h | 8 +- net/tipc/socket.c | 23 +-- net/tipc/udp_media.c | 13 ++ 20 files changed, 634 insertions(+), 425 deletions(-) -- 2.1.4 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot