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

Method SetNext

libi2pd/TunnelConfig.cpp:53–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 }
52
53 void TunnelHopConfig::SetNext (TunnelHopConfig * n)
54 {
55 next = n;
56 if (next)
57 {
58 next->prev = this;
59 next->isGateway = false;
60 isEndpoint = false;
61 nextIdent = next->ident->GetIdentHash ();
62 nextTunnelID = next->tunnelID;
63 }
64 }
65
66 void TunnelHopConfig::SetPrev (TunnelHopConfig * p)
67 {

Callers 1

CreatePeersMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected