Flow 1.0.2
Flow project: Full implementation reference.
Namespaces | Functions
seq_num.cpp File Reference
#include "flow/net_flow/detail/seq_num.hpp"
#include "flow/util/random.hpp"
#include <boost/functional/hash/hash.hpp>
#include <limits>
#include <cmath>

Go to the source code of this file.

Namespaces

namespace  flow
 Catch-all namespace for the Flow project: A collection of various production-quality modules written in modern C++17, originally by ygoldfel.
 
namespace  flow::net_flow
 Flow module containing the API and implementation of the Flow network protocol, a TCP-inspired stream protocol that uses UDP as underlying transport.
 

Functions

std::ostream & flow::net_flow::operator<< (std::ostream &os, const Sequence_number &seq_num)
 Prints given sequence number to given ostream. More...
 
size_t flow::net_flow::hash_value (const Sequence_number &seq_num)
 Free function that returns seq_num.hash(); has to be a free function named hash_value for boost.hash to pick it up. More...