6 using proc_t = uint32_t;
7 using status_t = int32_t;
8 using rpc_sz_t = uint32_t;
10 struct request_header {
13 unsigned int clt_nonce;
14 unsigned int srv_nonce;
17 MEMBERS(xid, proc, clt_nonce, srv_nonce, xid_rep)
27 const size_t RPC_HEADER_SZ = max(sizeof(request_header), sizeof(reply_header)) + sizeof(rpc_sz_t);
28 const size_t DEFAULT_RPC_SZ = 1024; // size of initial buffer allocation
29 const size_t MAX_PDU = 10<<20; //maximum PDF is 10M