diff options
author | Jon Maloy <jmaloy@redhat.com> | 2020-11-25 13:29:15 -0500 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-27 17:34:01 -0800 |
commit | b6f88d9c2faec015491a4c9936c170d7bc8539d5 (patch) | |
tree | 22010e69206228ec1db021f72b29382c7ba75db6 /net/tipc/net.c | |
parent | 5f75e0a0e92a6c6ef93d61fb4d1d2a185cdbc2f9 (diff) | |
download | linux-b6f88d9c2faec015491a4c9936c170d7bc8539d5.tar.gz linux-b6f88d9c2faec015491a4c9936c170d7bc8539d5.tar.bz2 linux-b6f88d9c2faec015491a4c9936c170d7bc8539d5.zip |
tipc: update address terminology in code
We update the terminology in the code so that deprecated structure
names and macros are replaced with those currently recommended in
the user API.
struct tipc_portid -> struct tipc_socket_addr
struct tipc_name -> struct tipc_service_addr
struct tipc_name_seq -> struct tipc_service_range
TIPC_ADDR_ID -> TIPC_SOCKET_ADDR
TIPC_ADDR_NAME -> TIPC_SERVICE_ADDR
TIPC_ADDR_NAMESEQ -> TIPC_SERVICE_RANGE
TIPC_CFG_SRV -> TIPC_NODE_STATE
Acked-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: Jon Maloy <jmaloy@redhat.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/tipc/net.c')
-rw-r--r-- | net/tipc/net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/net.c b/net/tipc/net.c index 0bb2323201da..a129f661bee3 100644 --- a/net/tipc/net.c +++ b/net/tipc/net.c @@ -132,7 +132,7 @@ static void tipc_net_finalize(struct net *net, u32 addr) tipc_named_reinit(net); tipc_sk_reinit(net); tipc_mon_reinit_self(net); - tipc_nametbl_publish(net, TIPC_CFG_SRV, addr, addr, + tipc_nametbl_publish(net, TIPC_NODE_STATE, addr, addr, TIPC_CLUSTER_SCOPE, 0, addr); } |