]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1c30d0f8765355bbd31d8fa3a2421c8904dc2e6e
tree9c63be9727a79f1223958a63b10704a8528d59f7
parent66f26b401424e98276f1efbdb4918eea2c1edf4f
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