rxrpc: Update protocol definitions slightly
authorDavid Howells <dhowells@redhat.com>
Thu, 8 Sep 2016 10:10:11 +0000 (11:10 +0100)
committerDavid Howells <dhowells@redhat.com>
Thu, 8 Sep 2016 10:10:11 +0000 (11:10 +0100)
commit18f1387c7d7c6827b3ed6adf6ae20f65a58dc7b0
tree9c63be9727a79f1223958a63b10704a8528d59f7
parentcf13258fd4cb86478dfcb7e2c93a0d844307abc6
rxrpc: Update protocol definitions slightly

Update the protocol definitions in include/rxrpc/packet.h slightly:

 (1) Get rid of RXRPC_PROCESS_MAXCALLS as it's redundant (same as
     RXRPC_MAXCALLS).

 (2) In struct rxrpc_jumbo_header, put _rsvd in a union with a field called
     cksum to match struct rxrpc_wire_header.

 (3) Provide RXRPC_JUMBO_SUBPKTLEN which is the total of the amount of data
     in a non-terminal subpacket plus the following secondary header for
     the next packet included in the jumbo packet.

Signed-off-by: David Howells <dhowells@redhat.com>
include/rxrpc/packet.h