mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-07 06:02:41 -04:00
* Switched on Dht "Attach" Mode if RS is firewalled. (and not nice firewall).
* Added interfaces to enable AttachMode switch. * Added further tcponudp tests. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4484 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
f6002b3981
commit
b56ddfeb5b
10 changed files with 445 additions and 11 deletions
|
@ -254,7 +254,6 @@ bool netAssistConnectActive();
|
|||
bool netAssistConnectShutdown();
|
||||
bool netAssistConnectStats(uint32_t &netsize, uint32_t &localnetsize);
|
||||
void netAssistConnectTick();
|
||||
|
||||
/* Assist Firewall */
|
||||
bool netAssistExtAddress(struct sockaddr_in &extAddr);
|
||||
bool netAssistFirewallPorts(uint16_t iport, uint16_t eport);
|
||||
|
@ -265,6 +264,8 @@ bool netAssistSetAddress( struct sockaddr_in &laddr,
|
|||
struct sockaddr_in &eaddr,
|
||||
uint32_t mode);
|
||||
|
||||
bool netAssistAttach(bool on);
|
||||
|
||||
|
||||
/* Internal Functions */
|
||||
void netReset();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue