Lines Matching +full:serial +full:- +full:id

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
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 */
25 __be32 cid; /* connection and channel ID */
27 #define RXRPC_CHANNELMASK (RXRPC_MAXCALLS-1) /* mask for channel ID */
28 #define RXRPC_CIDMASK (~RXRPC_CHANNELMASK) /* mask for connection ID */
29 #define RXRPC_CIDSHIFT ilog2(RXRPC_MAXCALLS) /* shift for connection ID */
30 #define RXRPC_CID_INC (1 << RXRPC_CIDSHIFT) /* connection ID increment */
32 __be32 callNumber; /* call ID (0 for connection-level packets) */
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 */
61 uint8_t securityIndex; /* security protocol ID */
66 __be16 serviceId; /* service ID */
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 */
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
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
147 * Kerberos security type-2 challenge packet
153 __be32 __padding; /* padding to 8-byte boundary */
158 * Kerberos security type-2 response packet
167 __be32 cid; /* parent connection ID */