MCPcopy Create free account
hub / github.com/PurpleI2P/i2pd / ProcessTunnelTest

Method ProcessTunnelTest

libi2pd/TunnelPool.cpp:508–516  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

506 }
507
508 void TunnelPool::ProcessTunnelTest (std::shared_ptr<I2NPMessage> msg)
509 {
510 const uint8_t * buf = msg->GetPayload ();
511 uint32_t msgID = bufbe32toh (buf);
512 buf += 4;
513 uint64_t timestamp = bufbe64toh (buf);
514
515 ProcessTunnelTest (msgID, timestamp);
516 }
517
518 bool TunnelPool::ProcessTunnelTest (uint32_t msgID, uint64_t timestamp)
519 {

Callers 3

HandleI2NPMessageFunction · 0.80

Calls 9

bufbe32tohFunction · 0.85
bufbe64tohFunction · 0.85
GetMonotonicMicrosecondsFunction · 0.85
LogPrintFunction · 0.85
AddLatencySampleMethod · 0.80
GetPayloadMethod · 0.45
GetNumHopsMethod · 0.45
GetStateMethod · 0.45
SetStateMethod · 0.45

Tested by

no test coverage detected