]> asedeno.scripts.mit.edu Git - linux.git/commit
tipc: tipc: rename address types in user api
authorJon Maloy <jon.maloy@ericsson.com>
Thu, 29 Mar 2018 21:20:44 +0000 (23:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Apr 2018 02:19:52 +0000 (22:19 -0400)
commit7a74d39cc2927302bc236397c1fdb1fe5be209ce
tree3712751dbe8d379ef6fe6188925322eac7a56754
parent37922ea4a3105176357c8d565a9d982c4a08714a
tipc: tipc: rename address types in user api

The three address type structs in the user API have names that in
reality reflect the specific, non-Linux environment where they were
originally created.

We now give them more intuitive names, in accordance with how TIPC is
described in the current documentation.

struct tipc_portid   -> struct tipc_socket_addr
struct tipc_name     -> struct tipc_service_addr
struct tipc_name_seq -> struct tipc_service_range

To avoid confusion, we also update some commmets and macro names to
 match the new terminology.

For compatibility, we add macros that map all old names to the new ones.

Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/tipc.h