summaryrefslogtreecommitdiffstats
path: root/net/rxrpc/ar-internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/rxrpc/ar-internal.h')
-rw-r--r--net/rxrpc/ar-internal.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/net/rxrpc/ar-internal.h b/net/rxrpc/ar-internal.h
index 781fbc253b5a..c1ebd886a53f 100644
--- a/net/rxrpc/ar-internal.h
+++ b/net/rxrpc/ar-internal.h
@@ -144,8 +144,13 @@ struct rxrpc_sock {
144#define RXRPC_SECURITY_MAX RXRPC_SECURITY_ENCRYPT 144#define RXRPC_SECURITY_MAX RXRPC_SECURITY_ENCRYPT
145 bool exclusive; /* Exclusive connection for a client socket */ 145 bool exclusive; /* Exclusive connection for a client socket */
146 u16 second_service; /* Additional service bound to the endpoint */ 146 u16 second_service; /* Additional service bound to the endpoint */
147 struct {
148 /* Service upgrade information */
149 u16 from; /* Service ID to upgrade (if not 0) */
150 u16 to; /* service ID to upgrade to */
151 } service_upgrade;
147 sa_family_t family; /* Protocol family created with */ 152 sa_family_t family; /* Protocol family created with */
148 struct sockaddr_rxrpc srx; /* local address */ 153 struct sockaddr_rxrpc srx; /* Primary Service/local addresses */
149 struct sockaddr_rxrpc connect_srx; /* Default client address from connect() */ 154 struct sockaddr_rxrpc connect_srx; /* Default client address from connect() */
150}; 155};
151 156
@@ -861,7 +866,8 @@ static inline void rxrpc_put_connection(struct rxrpc_connection *conn)
861struct rxrpc_connection *rxrpc_find_service_conn_rcu(struct rxrpc_peer *, 866struct rxrpc_connection *rxrpc_find_service_conn_rcu(struct rxrpc_peer *,
862 struct sk_buff *); 867 struct sk_buff *);
863struct rxrpc_connection *rxrpc_prealloc_service_connection(struct rxrpc_net *, gfp_t); 868struct rxrpc_connection *rxrpc_prealloc_service_connection(struct rxrpc_net *, gfp_t);
864void rxrpc_new_incoming_connection(struct rxrpc_connection *, struct sk_buff *); 869void rxrpc_new_incoming_connection(struct rxrpc_sock *,
870 struct rxrpc_connection *, struct sk_buff *);
865void rxrpc_unpublish_service_conn(struct rxrpc_connection *); 871void rxrpc_unpublish_service_conn(struct rxrpc_connection *);
866 872
867/* 873/*