rxrpc: Use structs to hold connection params and protocol info
authorDavid Howells <dhowells@redhat.com>
Mon, 4 Apr 2016 13:00:36 +0000 (14:00 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 22 Jun 2016 08:09:59 +0000 (09:09 +0100)
commit19ffa01c9c45861ad6b181323e0d36904298e326
treeb81cd9ec90ca2c51829ffe9f765fd7a6b26e5e7b
parent2f9f9f5210887b1019fbd0327ffdf7c3aff271fd
rxrpc: Use structs to hold connection params and protocol info

Define and use a structure to hold connection parameters.  This makes it
easier to pass multiple connection parameters around.

Define and use a structure to hold protocol information used to hash a
connection for lookup on incoming packet.  Most of these fields will be
disposed of eventually, including the duplicate local pointer.

Whilst we're at it rename "proto" to "family" when referring to a protocol
family.

Signed-off-by: David Howells <dhowells@redhat.com>
13 files changed:
net/rxrpc/af_rxrpc.c
net/rxrpc/ar-internal.h
net/rxrpc/call_event.c
net/rxrpc/call_object.c
net/rxrpc/conn_event.c
net/rxrpc/conn_object.c
net/rxrpc/input.c
net/rxrpc/key.c
net/rxrpc/output.c
net/rxrpc/proc.c
net/rxrpc/recvmsg.c
net/rxrpc/rxkad.c
net/rxrpc/security.c