summaryrefslogtreecommitdiffstats
path: root/net/tipc/socket.h
diff options
context:
space:
mode:
authorJon Paul Maloy <jon.maloy@ericsson.com>2014-08-22 18:09:19 -0400
committerDavid S. Miller <davem@davemloft.net>2014-08-23 11:18:35 -0700
commit808d90f9c55943c2965d33b7156e559c59dd2db9 (patch)
treea0f507b1cb62b8fde785b30486eff6b3127038f9 /net/tipc/socket.h
parent2e84c60b77e4dd96068f568a5971e681bb7e6b68 (diff)
downloadlinux-stable-808d90f9c55943c2965d33b7156e559c59dd2db9.tar.gz
linux-stable-808d90f9c55943c2965d33b7156e559c59dd2db9.tar.bz2
linux-stable-808d90f9c55943c2965d33b7156e559c59dd2db9.zip
tipc: remove files ref.h and ref.c
The reference table is now 'socket aware' instead of being generic, and has in reality become a socket internal table. In order to be able to minimize the API exposed by the socket layer towards the rest of the stack, we now move the reference table definitions and functions into the file socket.c, and rename the functions accordingly. There are no functional changes in this commit. Signed-off-by: Jon Maloy <jon.maloy@ericsson.com> Reviewed-by: Erik Hugne <erik.hugne@ericsson.com> Reviewed-by: Ying Xue <ying.xue@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/socket.h')
-rw-r--r--net/tipc/socket.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/tipc/socket.h b/net/tipc/socket.h
index b98725e27b94..48772169bc77 100644
--- a/net/tipc/socket.h
+++ b/net/tipc/socket.h
@@ -119,5 +119,7 @@ int tipc_sk_rcv(struct sk_buff *buf);
struct sk_buff *tipc_sk_socks_show(void);
void tipc_sk_mcast_rcv(struct sk_buff *buf);
void tipc_sk_reinit(void);
+int tipc_sk_ref_table_init(u32 requested_size, u32 start);
+void tipc_sk_ref_table_stop(void);
#endif