@@ -294,6 +294,20 @@ public:
|
||||
return InetAddress();
|
||||
}
|
||||
|
||||
/**
|
||||
* Forget direct paths
|
||||
*
|
||||
* @param fixedToo If true, also forget 'fixed' paths.
|
||||
*/
|
||||
inline void forgetDirectPaths(bool fixedToo)
|
||||
throw()
|
||||
{
|
||||
if ((fixedToo)||(!_ipv4p.fixed))
|
||||
_ipv4p.addr.zero();
|
||||
if ((fixedToo)||(!_ipv6p.fixed))
|
||||
_ipv6p.addr.zero();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return 256-bit secret symmetric encryption key
|
||||
*/
|
||||
@@ -411,6 +425,7 @@ public:
|
||||
|
||||
return (p - startAt);
|
||||
}
|
||||
|
||||
private:
|
||||
/**
|
||||
* A direct IP path to a peer
|
||||
|
||||
Reference in New Issue
Block a user