JayBeams
0.1
Another project to have fun coding.
|
MoldUDP64 protocol constants. More...
Variables | |
constexpr std::size_t | session_id_size = 10 |
The size of the session_id field, this is the first field of the header, at offset 0. More... | |
constexpr std::size_t | sequence_number_offset = session_id_size |
The location of the sequence number field within the header. More... | |
constexpr std::size_t | block_count_offset = sequence_number_offset + 8 |
The location of the block count field within the header. More... | |
constexpr std::size_t | header_size = block_count_offset + 2 |
The total size of the MoldUDP64 header. More... | |
MoldUDP64 protocol constants.
constexpr std::size_t jb::itch5::mold_udp_protocol::block_count_offset = sequence_number_offset + 8 |
The location of the block count field within the header.
Definition at line 25 of file mold_udp_protocol_constants.hpp.
Referenced by jb::itch5::mold_udp_pacer< clock_type >::fillup_header_fields(), and jb::itch5::mold_udp_channel::handle_received().
constexpr std::size_t jb::itch5::mold_udp_protocol::header_size = block_count_offset + 2 |
The total size of the MoldUDP64 header.
Definition at line 30 of file mold_udp_protocol_constants.hpp.
Referenced by BOOST_AUTO_TEST_CASE(), jb::itch5::mold_udp_pacer< clock_type >::coalesce(), jb::itch5::mold_udp_pacer< clock_type >::flush_impl(), jb::itch5::mold_udp_channel::handle_received(), jb::itch5::mold_udp_pacer< clock_type >::mold_udp_pacer(), and jb::itch5::mold_udp_pacer_config::validate().
constexpr std::size_t jb::itch5::mold_udp_protocol::sequence_number_offset = session_id_size |
The location of the sequence number field within the header.
Definition at line 20 of file mold_udp_protocol_constants.hpp.
Referenced by jb::itch5::mold_udp_pacer< clock_type >::fillup_header_fields(), and jb::itch5::mold_udp_channel::handle_received().
constexpr std::size_t jb::itch5::mold_udp_protocol::session_id_size = 10 |
The size of the session_id field, this is the first field of the header, at offset 0.
Definition at line 15 of file mold_udp_protocol_constants.hpp.