Derecho  0.9
Distributed systems toolkit for RDMA
Functions
derecho::rpc::remote_invocation_utilities Namespace Reference

Utility functions for manipulating the headers of RPC messages. More...

Functions

std::size_t header_space ()
 
char * extra_alloc (int i)
 
void populate_header (char *reply_buf, const std::size_t &payload_size, const Opcode &op, const node_id_t &from, const uint32_t &flags)
 
void retrieve_header (mutils::RemoteDeserialization_v *rdv, const char *reply_buf, std::size_t &payload_size, Opcode &op, node_id_t &from, uint32_t &flags)
 

Detailed Description

Utility functions for manipulating the headers of RPC messages.

Function Documentation

◆ extra_alloc()

char* derecho::rpc::remote_invocation_utilities::extra_alloc ( int  i)
inline

Definition at line 556 of file rpc_utils.hpp.

◆ header_space()

std::size_t derecho::rpc::remote_invocation_utilities::header_space ( )
inline

Definition at line 551 of file rpc_utils.hpp.

◆ populate_header()

void derecho::rpc::remote_invocation_utilities::populate_header ( char *  reply_buf,
const std::size_t &  payload_size,
const Opcode op,
const node_id_t from,
const uint32_t &  flags 
)
inline

Definition at line 561 of file rpc_utils.hpp.

◆ retrieve_header()

void derecho::rpc::remote_invocation_utilities::retrieve_header ( mutils::RemoteDeserialization_v rdv,
const char *  reply_buf,
std::size_t &  payload_size,
Opcode op,
node_id_t from,
uint32_t &  flags 
)
inline

Definition at line 577 of file rpc_utils.hpp.