Lines Matching +full:serial +full:- +full:number

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
11 typedef u32 rxrpc_seq_t; /* Rx message sequence number */
12 typedef u32 rxrpc_serial_t; /* Rx message serial number */
13 typedef __be32 rxrpc_seq_net_t; /* on-the-wire Rx message sequence number */
14 typedef __be32 rxrpc_serial_net_t; /* on-the-wire Rx message serial number */
18 * on-the-wire Rx packet header
19 * - all multibyte fields should be in network byte order
23 #define RXRPC_RANDOM_EPOCH 0x80000000 /* Random if set, date-based if not */
27 #define RXRPC_CHANNELMASK (RXRPC_MAXCALLS-1) /* mask for channel ID */
32 __be32 callNumber; /* call ID (0 for connection-level packets) */
33 __be32 seq; /* sequence number of pkt in call stream */
34 __be32 serial; /* serial number of pkt sent to network */ member
42 #define RXRPC_PACKET_TYPE_CHALLENGE 6 /* connection security challenge (SRVR->CLNT) */
43 #define RXRPC_PACKET_TYPE_RESPONSE 7 /* connection secutity response (CLNT->SRVR) */
58 uint8_t userStatus; /* app-layer defined status */
73 * - can be mapped to read header by:
74 * - new_serial = serial + 1
75 * - new_seq = seq + 1
76 * - new_flags = j_flags
77 * - new__rsvd = j__rsvd
78 * - duplicating all other fields
89 #define RXRPC_JUMBO_DATALEN 1412 /* non-terminal jumbo packet data length */
93 * The maximum number of subpackets that can possibly fit in a UDP packet is:
95 * ((max_IP - IP_hdr - UDP_hdr) / RXRPC_JUMBO_SUBPKTLEN) + 1
96 * = ((65535 - 28 - 28) / 1416) + 1
97 * = 46 non-terminal packets and 1 terminal packet.
103 * on-the-wire Rx ACK packet data payload
104 * - all multibyte fields should be in network byte order
107 __be16 bufferSpace; /* number of packet buffers available */
108 __be16 maxSkew; /* diff between serno being ACK'd and highest serial no
112 __be32 serial; /* serial no of packet that prompted this ACK */ member
126 uint8_t nAcks; /* number of ACKs */
147 * Kerberos security type-2 challenge packet
151 __be32 nonce; /* encrypted random number */
153 __be32 __padding; /* padding to 8-byte boundary */
158 * Kerberos security type-2 response packet
175 __be32 kvno; /* Kerberos key version number */