17 #ifndef HH_SENF_Ext_NetEmu_Annotations_ 18 #define HH_SENF_Ext_NetEmu_Annotations_ 1 34 namespace annotations {
77 void setLoss(
unsigned loss);
88 mutable std::uint32_t timestamp[2];
94 void fromScheduler()
const;
96 void fromWallClock()
const;
99 std::uint32_t as_milli_seconds(std::uint32_t modulo = 0xffffffff)
const;
110 mutable boost::uint32_t
id;
config::time_type clock_type
Incoming or outgoing interface.
unsigned frameRetransmitted
std::size_t hash_value(Interface const &mac) noexcept
bool operator==(Interface const &other) const
std::ostream & operator<<(std::ostream &os, Interface const &annotation)
Output Interface annotation instance as it's string representation.
Incoming packet timestamp.
bool operator<(Interface const &other) const
unsigned framePredecessorLost