Outgoing Packet Metrics (#1980)
add tx/rx labels to packet counters and add metrics for outgoing packets
This commit is contained in:
parent
e5fc89821f
commit
595e033776
7 changed files with 297 additions and 110 deletions
|
@ -208,6 +208,7 @@ private:
|
|||
bool _shouldUnite(const int64_t now,const Address &source,const Address &destination);
|
||||
bool _trySend(void *tPtr,Packet &packet,bool encrypt,int32_t flowId = ZT_QOS_NO_FLOW); // packet is modified if return is true
|
||||
void _sendViaSpecificPath(void *tPtr,SharedPtr<Peer> peer,SharedPtr<Path> viaPath,uint16_t userSpecifiedMtu, int64_t now,Packet &packet,bool encrypt,int32_t flowId);
|
||||
void _recordOutgoingPacketMetrics(const Packet &p);
|
||||
|
||||
const RuntimeEnvironment *const RR;
|
||||
int64_t _lastBeaconResponse;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue