zt_get_address() implementation

This commit is contained in:
Joseph Henry
2016-08-08 12:31:06 -07:00
parent d4b88afa90
commit e1fb64bc6f
7 changed files with 77 additions and 17 deletions

View File

@@ -951,6 +951,8 @@ public:
_phy.whack();
}
// For ZT SDK API
virtual void join(const char *hp)
{
_node->join(Utils::hexStrToU64(hp),NULL);
@@ -966,6 +968,11 @@ public:
return _homePath;
}
virtual std::map< uint64_t,EthernetTap * > getTaps()
{
return _taps;
}
// Begin private implementation methods
inline void phyOnDatagram(PhySocket *sock,void **uptr,const struct sockaddr *localAddr,const struct sockaddr *from,void *data,unsigned long len)