Go to the documentation of this file.
12 #ifndef _LINUX_RXRPC_PACKET_H
13 #define _LINUX_RXRPC_PACKET_H
29 #define RXRPC_MAXCALLS 4
30 #define RXRPC_CHANNELMASK (RXRPC_MAXCALLS-1)
31 #define RXRPC_CIDMASK (~RXRPC_CHANNELMASK)
32 #define RXRPC_CIDSHIFT ilog2(RXRPC_MAXCALLS)
33 #define RXRPC_CID_INC (1 << RXRPC_CIDSHIFT)
36 #define RXRPC_PROCESS_MAXCALLS (1<<2)
42 #define RXRPC_PACKET_TYPE_DATA 1
43 #define RXRPC_PACKET_TYPE_ACK 2
44 #define RXRPC_PACKET_TYPE_BUSY 3
45 #define RXRPC_PACKET_TYPE_ABORT 4
46 #define RXRPC_PACKET_TYPE_ACKALL 5
47 #define RXRPC_PACKET_TYPE_CHALLENGE 6
48 #define RXRPC_PACKET_TYPE_RESPONSE 7
49 #define RXRPC_PACKET_TYPE_DEBUG 8
50 #define RXRPC_N_PACKET_TYPES 9
53 #define RXRPC_CLIENT_INITIATED 0x01
54 #define RXRPC_REQUEST_ACK 0x02
55 #define RXRPC_LAST_PACKET 0x04
56 #define RXRPC_MORE_PACKETS 0x08
57 #define RXRPC_JUMBO_PACKET 0x20
58 #define RXRPC_SLOW_START_OK 0x20
70 #define __rxrpc_header_off(X) offsetof(struct rxrpc_header,X)
90 #define RXRPC_JUMBO_DATALEN 1412
106 #define RXRPC_ACK_REQUESTED 1
107 #define RXRPC_ACK_DUPLICATE 2
108 #define RXRPC_ACK_OUT_OF_SEQUENCE 3
109 #define RXRPC_ACK_EXCEEDS_WINDOW 4
110 #define RXRPC_ACK_NOSPACE 5
111 #define RXRPC_ACK_PING 6
112 #define RXRPC_ACK_PING_RESPONSE 7
113 #define RXRPC_ACK_DELAY 8
114 #define RXRPC_ACK_IDLE 9
117 #define RXRPC_MAXACKS 255
120 #define RXRPC_ACK_TYPE_NACK 0
121 #define RXRPC_ACK_TYPE_ACK 1
173 #define RX_CALL_DEAD -1
174 #define RX_INVALID_OPERATION -2
175 #define RX_CALL_TIMEOUT -3
177 #define RX_PROTOCOL_ERROR -5
178 #define RX_USER_ABORT -6
179 #define RX_ADDRINUSE -7
180 #define RX_DEBUGI_BADTYPE -8
185 #define RXGEN_CC_MARSHAL -450
186 #define RXGEN_CC_UNMARSHAL -451
187 #define RXGEN_SS_MARSHAL -452
188 #define RXGEN_SS_UNMARSHAL -453
189 #define RXGEN_DECODE -454
190 #define RXGEN_OPCODE -455
191 #define RXGEN_SS_XDRFREE -456
192 #define RXGEN_CC_XDRFREE -457
200 #define RXKADINCONSISTENCY 19270400
201 #define RXKADPACKETSHORT 19270401
202 #define RXKADLEVELFAIL 19270402
203 #define RXKADTICKETLEN 19270403
204 #define RXKADOUTOFSEQUENCE 19270404
205 #define RXKADNOAUTH 19270405
206 #define RXKADBADKEY 19270406
207 #define RXKADBADTICKET 19270407
208 #define RXKADUNKNOWNKEY 19270408
209 #define RXKADEXPIRED 19270409
210 #define RXKADSEALEDINCON 19270410
211 #define RXKADDATALEN 19270411
212 #define RXKADILLEGALLEVEL 19270412