diff options
author | Jon Maloy <jmaloy@redhat.com> | 2021-03-16 22:06:08 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-17 11:51:04 -0700 |
commit | 998d3907f419ed5c27728161d34f5ed14be53fc0 (patch) | |
tree | bd426a798bca3df3c922261e084006c03de2c656 /net/tipc/addr.c | |
parent | 5c9e418b0616cfdc2dd2de99e8d6d8deb1f213eb (diff) | |
download | linux-998d3907f419ed5c27728161d34f5ed14be53fc0.tar.gz linux-998d3907f419ed5c27728161d34f5ed14be53fc0.tar.bz2 linux-998d3907f419ed5c27728161d34f5ed14be53fc0.zip |
tipc: re-organize members of struct publication
In a future commit we will introduce more members to struct publication.
In order to keep this structure comprehensible we now group some of
its current fields into the sub-structures where they really belong,
- A struct tipc_service_range for the functional address the publication
is representing.
- A struct tipc_socket_addr for the socket bound to that service range.
We also rename the stack variable 'publ' to just 'p' in a few places.
This is just as easy to understand in the given context, and keeps the
number of wrapped code lines to a minimum.
There are no functional changes in this commit.
Signed-off-by: Jon Maloy <jmaloy@redhat.com>
Acked-by: Ying Xue <ying.xue@windriver.com>
Acked-by: Hoang Le <hoang.h.le@dektech.com.au>
Acked-by: Tung Nguyen <tung.q.nguyen@dektech.com.au>
Acked-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/addr.c')
0 files changed, 0 insertions, 0 deletions