diff options
author | Allan Stephens <Allan.Stephens@windriver.com> | 2011-01-07 19:00:11 +0100 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-02-24 00:05:05 +0100 |
commit | 2d627b92fd1e39d83c3ee0b9d410403f98cb3981 (patch) | |
tree | 38fc08bfe87ed28785c7dd464577e947397dfa7c /net/tipc/link.h | |
parent | tipc: Combine port structure with tipc_port structure (diff) | |
download | linux-2d627b92fd1e39d83c3ee0b9d410403f98cb3981.tar.xz linux-2d627b92fd1e39d83c3ee0b9d410403f98cb3981.zip |
tipc: Combine bearer structure with tipc_bearer structure
Combines two distinct structures containing information about a TIPC bearer
into a single structure. The structures were previously kept separate so
that public information about a bearer could be made available to plug-in
media types using TIPC's native API, while the remaining information was
kept private for use by TIPC itself. However, now that the native API has
been removed there is no longer any need for this arrangement.
Since one of the structures was already embedded within the other, the
change largely involves replacing instances of "publ.foo" with "foo".
The changes do not otherwise alter the operation of TIPC bearers.
Signed-off-by: Allan Stephens <Allan.Stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'net/tipc/link.h')
-rw-r--r-- | net/tipc/link.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/tipc/link.h b/net/tipc/link.h index 85fd3bcb5ed9..bdb0fa263d20 100644 --- a/net/tipc/link.h +++ b/net/tipc/link.h @@ -122,7 +122,7 @@ struct link { u32 checkpoint; u32 peer_session; u32 peer_bearer_id; - struct bearer *b_ptr; + struct tipc_bearer *b_ptr; u32 tolerance; u32 continuity_interval; u32 abort_limit; @@ -213,7 +213,7 @@ struct link { struct tipc_port; -struct link *tipc_link_create(struct bearer *b_ptr, const u32 peer, +struct link *tipc_link_create(struct tipc_bearer *b_ptr, const u32 peer, const struct tipc_media_addr *media_addr); void tipc_link_delete(struct link *l_ptr); void tipc_link_changeover(struct link *l_ptr); |