Derecho  0.9
Distributed systems toolkit for RDMA
Classes | Functions
message.hpp File Reference
#include <cstdint>
#include <utility>
Include dependency graph for message.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ParsedTag
 
struct  ParsedImmediate
 

Functions

ParsedTag parse_tag (uint64_t t)
 
uint64_t form_tag (uint16_t group_number, uint32_t target)
 
ParsedImmediate parse_immediate (uint32_t imm)
 
uint32_t form_immediate (uint16_t total_blocks, uint16_t block_number)
 

Class Documentation

◆ ParsedTag

struct ParsedTag

Definition at line 7 of file message.hpp.

Class Members
uint16_t group_number
uint8_t padding
uint8_t reserved
uint32_t target

◆ ParsedImmediate

struct ParsedImmediate

Definition at line 22 of file message.hpp.

Class Members
uint16_t block_number
uint16_t total_blocks

Function Documentation

◆ form_immediate()

uint32_t form_immediate ( uint16_t  total_blocks,
uint16_t  block_number 
)
inline

Definition at line 31 of file message.hpp.

◆ form_tag()

uint64_t form_tag ( uint16_t  group_number,
uint32_t  target 
)
inline

Definition at line 18 of file message.hpp.

◆ parse_immediate()

ParsedImmediate parse_immediate ( uint32_t  imm)
inline

Definition at line 27 of file message.hpp.

◆ parse_tag()

ParsedTag parse_tag ( uint64_t  t)
inline

Definition at line 14 of file message.hpp.