aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/port.h
diff options
context:
space:
mode:
authorAllan Stephens <Allan.Stephens@windriver.com>2010-12-31 13:59:22 -0500
committerDavid S. Miller <davem@davemloft.net>2011-01-01 16:57:51 -0500
commitb0c1e928c85023c73780b5d9873406ccf1cd8019 (patch)
treef5c7f9e15f4eda8a7b94660de1748da8dd41fcab /net/tipc/port.h
parentaa70200e001fc4d76552c974c94f65ab26020203 (diff)
tipc: Remove user registry subsystem
Eliminates routines, data structures, and files that make up TIPC's user registry. The user registry is no longer needed since the native API routines that utilized it no longer exist and there are no longer any internal TIPC services that use it. Signed-off-by: Allan Stephens <Allan.Stephens@windriver.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/port.h')
-rw-r--r--net/tipc/port.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/net/tipc/port.h b/net/tipc/port.h
index 3a807fcec2be..da607a8a2f35 100644
--- a/net/tipc/port.h
+++ b/net/tipc/port.h
@@ -77,15 +77,12 @@ typedef void (*tipc_continue_event) (void *usr_handle, u32 portref);
77 77
78/** 78/**
79 * struct user_port - TIPC user port (used with native API) 79 * struct user_port - TIPC user port (used with native API)
80 * @user_ref: id of user who created user port
81 * @usr_handle: user-specified field 80 * @usr_handle: user-specified field
82 * @ref: object reference to associated TIPC port 81 * @ref: object reference to associated TIPC port
83 * <various callback routines> 82 * <various callback routines>
84 * @uport_list: adjacent user ports in list of ports held by user
85 */ 83 */
86 84
87struct user_port { 85struct user_port {
88 u32 user_ref;
89 void *usr_handle; 86 void *usr_handle;
90 u32 ref; 87 u32 ref;
91 tipc_msg_err_event err_cb; 88 tipc_msg_err_event err_cb;
@@ -95,7 +92,6 @@ struct user_port {
95 tipc_named_msg_event named_msg_cb; 92 tipc_named_msg_event named_msg_cb;
96 tipc_conn_msg_event conn_msg_cb; 93 tipc_conn_msg_event conn_msg_cb;
97 tipc_continue_event continue_event_cb; 94 tipc_continue_event continue_event_cb;
98 struct list_head uport_list;
99}; 95};
100 96
101/** 97/**
@@ -181,7 +177,7 @@ int tipc_send_buf_fast(struct sk_buff *buf, u32 destnode);
181 177
182void tipc_acknowledge(u32 port_ref, u32 ack); 178void tipc_acknowledge(u32 port_ref, u32 ack);
183 179
184int tipc_createport(unsigned int tipc_user, void *usr_handle, 180int tipc_createport(void *usr_handle,
185 unsigned int importance, tipc_msg_err_event error_cb, 181 unsigned int importance, tipc_msg_err_event error_cb,
186 tipc_named_msg_err_event named_error_cb, 182 tipc_named_msg_err_event named_error_cb,
187 tipc_conn_shutdown_event conn_error_cb, tipc_msg_event msg_cb, 183 tipc_conn_shutdown_event conn_error_cb, tipc_msg_event msg_cb,