mirror of
				https://github.com/PurpleI2P/i2pd.git
				synced 2025-11-04 08:30:46 +00:00 
			
		
		
		
	publish SSU2 address
This commit is contained in:
		
							parent
							
								
									30b83414ef
								
							
						
					
					
						commit
						7923ed9567
					
				
					 5 changed files with 104 additions and 17 deletions
				
			
		| 
						 | 
				
			
			@ -196,7 +196,9 @@ namespace data
 | 
			
		|||
			void AddSSUAddress (const char * host, int port, const uint8_t * key, int mtu = 0);
 | 
			
		||||
			void AddNTCP2Address (const uint8_t * staticKey, const uint8_t * iv,
 | 
			
		||||
				const boost::asio::ip::address& host = boost::asio::ip::address(), int port = 0, uint8_t caps = 0);
 | 
			
		||||
			void AddSSU2Address (const uint8_t * staticKey, const uint8_t * introKey, uint8_t caps = 0);	// non published
 | 
			
		||||
			void AddSSU2Address (const uint8_t * staticKey, const uint8_t * introKey, uint8_t caps = 0); // non published
 | 
			
		||||
			void AddSSU2Address (const uint8_t * staticKey, const uint8_t * introKey,
 | 
			
		||||
				const boost::asio::ip::address& host, int port); // published
 | 
			
		||||
			bool AddIntroducer (const Introducer& introducer);
 | 
			
		||||
			bool RemoveIntroducer (const boost::asio::ip::udp::endpoint& e);
 | 
			
		||||
			void SetUnreachableAddressesTransportCaps (uint8_t transports); // bitmask of AddressCaps
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue