summaryrefslogtreecommitdiffstats
path: root/net/rxrpc/ar-internal.h
diff options
context:
space:
mode:
authorDavid Howells2016-04-04 15:00:40 +0200
committerDavid Howells2016-07-06 11:43:52 +0200
commitc6d2b8d764f5edd79f708bdc49d1176072ee77a1 (patch)
tree9439781a84953400f78e9378658a4409fd913109 /net/rxrpc/ar-internal.h
parentrxrpc: Call channels should have separate call number spaces (diff)
downloadkernel-qcow2-linux-c6d2b8d764f5edd79f708bdc49d1176072ee77a1.tar.gz
kernel-qcow2-linux-c6d2b8d764f5edd79f708bdc49d1176072ee77a1.tar.xz
kernel-qcow2-linux-c6d2b8d764f5edd79f708bdc49d1176072ee77a1.zip
rxrpc: Split client connection code out into its own file
Split the client-specific connection code out into its own file. It will behave somewhat differently from the service-specific connection code, so it makes sense to separate them. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'net/rxrpc/ar-internal.h')
-rw-r--r--net/rxrpc/ar-internal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/rxrpc/ar-internal.h b/net/rxrpc/ar-internal.h
index b697654340a8..021d28b54282 100644
--- a/net/rxrpc/ar-internal.h
+++ b/net/rxrpc/ar-internal.h
@@ -544,9 +544,10 @@ void __exit rxrpc_destroy_all_calls(void);
*/
extern struct idr rxrpc_client_conn_ids;
-int rxrpc_get_client_connection_id(struct rxrpc_connection *, gfp_t);
void rxrpc_put_client_connection_id(struct rxrpc_connection *);
void rxrpc_destroy_client_conn_ids(void);
+int rxrpc_connect_call(struct rxrpc_call *, struct rxrpc_conn_parameters *,
+ struct sockaddr_rxrpc *, gfp_t);
/*
* conn_event.c
@@ -562,8 +563,7 @@ extern unsigned int rxrpc_connection_expiry;
extern struct list_head rxrpc_connections;
extern rwlock_t rxrpc_connection_lock;
-int rxrpc_connect_call(struct rxrpc_call *, struct rxrpc_conn_parameters *,
- struct sockaddr_rxrpc *, gfp_t);
+struct rxrpc_connection *rxrpc_alloc_connection(gfp_t);
struct rxrpc_connection *rxrpc_find_connection(struct rxrpc_local *,
struct rxrpc_peer *,
struct sk_buff *);