diff options
Diffstat (limited to 'node/Node.hpp')
-rw-r--r-- | node/Node.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/node/Node.hpp b/node/Node.hpp index cd8d68fc..1c260545 100644 --- a/node/Node.hpp +++ b/node/Node.hpp @@ -104,6 +104,8 @@ public: ZT1_VirtualNetworkConfig *networkConfig(uint64_t nwid) const; ZT1_VirtualNetworkList *networks() const; void freeQueryResult(void *qr); + void addLocalInterfaceAddress(const struct sockaddr_storage *addr,int metric,ZT1_LocalInterfaceAddressTrust trust,int reliable); + void clearLocalInterfaceAddresses(); void setNetconfMaster(void *networkControllerInstance); // Internal functions ------------------------------------------------------ @@ -172,6 +174,9 @@ public: return nw; } + /** + * @return Potential direct paths to me a.k.a. local interface addresses + */ inline std::vector<Path> directPaths() const { Mutex::Lock _l(_directPaths_m); |