summaryrefslogtreecommitdiff
path: root/node/SelfAwareness.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/SelfAwareness.hpp')
-rw-r--r--node/SelfAwareness.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/node/SelfAwareness.hpp b/node/SelfAwareness.hpp
index 4eede592..d3b79d18 100644
--- a/node/SelfAwareness.hpp
+++ b/node/SelfAwareness.hpp
@@ -66,6 +66,11 @@ public:
*/
void clean(uint64_t now);
+ /**
+ * @return True if our external (global scope) IPv4 ports appear to be randomized by a NAT device
+ */
+ bool areGlobalIPv4PortsRandomized() const;
+
private:
struct PhySurfaceKey
{