dummy implementation of the peerConnectState ipAddressList methods

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1808 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
joss17 2009-11-11 16:46:28 +00:00
parent f85adf7c25
commit 864c504eb4
2 changed files with 9 additions and 0 deletions

View File

@ -3718,3 +3718,11 @@ bool p3ConnectMgr::getStunExtAddress(struct sockaddr_in &addr) {
bool p3ConnectMgr::getExtFinderExtAddress(struct sockaddr_in &addr) { bool p3ConnectMgr::getExtFinderExtAddress(struct sockaddr_in &addr) {
return (use_extr_addr_finder && mExtAddrFinder->hasValidIP(&addr)); return (use_extr_addr_finder && mExtAddrFinder->hasValidIP(&addr));
} }
void peerConnectState::sortIpAdressList() { //Sort the ip list ordering by seen time
}
void peerConnectState::purgeIpAdressList() {//purge old addresses to keep a small list
}
void peerConnectState::updateIpAdressList(IpAddressTimed ipTimed) { //purge old addresses to keep a small list
}

View File

@ -141,6 +141,7 @@ class peerConnectState
std::list<IpAddressTimed> ipAddressList; std::list<IpAddressTimed> ipAddressList;
void sortIpAdressList(); //Sort the ip list ordering by seen time void sortIpAdressList(); //Sort the ip list ordering by seen time
void purgeIpAdressList(); //purge old addresses to keep a small list void purgeIpAdressList(); //purge old addresses to keep a small list
void updateIpAdressList(IpAddressTimed ipTimed); //purge old addresses to keep a small list
//used to store current ip (for config and connection management) //used to store current ip (for config and connection management)
struct sockaddr_in currentlocaladdr; /* Mandatory */ struct sockaddr_in currentlocaladdr; /* Mandatory */