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

Method CreateDatagramDestination

libi2pd/Destination.cpp:1385–1395  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1383 }
1384
1385 i2p::datagram::DatagramDestination * ClientDestination::CreateDatagramDestination (bool gzip,
1386 i2p::datagram::DatagramVersion version)
1387 {
1388 if (!m_DatagramDestination)
1389 {
1390 if (!GetNumRatchetInboundTags ())
1391 SetNumRatchetInboundTags (i2p::garlic::ECIESX25519_MAX_NUM_GENERATED_TAGS); // set max tags if not specified
1392 m_DatagramDestination = new i2p::datagram::DatagramDestination (GetSharedFromThis (), gzip, version);
1393 }
1394 return m_DatagramDestination;
1395 }
1396
1397 std::vector<std::shared_ptr<const i2p::stream::Stream> > ClientDestination::GetAllStreams () const
1398 {

Callers 4

ProcessSessionCreateMethod · 0.80
StartMethod · 0.80
StartLookupsMethod · 0.80
AddressResolverMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected