New clustering work.

This commit is contained in:
Adam Ierymenko 2017-06-01 07:15:46 -07:00
parent 2a4a50b1da
commit 64b7d9ef82
16 changed files with 481 additions and 2432 deletions

View file

@ -150,6 +150,12 @@
#endif
#endif
#ifdef __WINDOWS__
#define ZT_PACKED_STRUCT(D) __pragma(pack(push,1)) D __pragma(pack(pop))
#else
#define ZT_PACKED_STRUCT(D) D __attribute__((packed))
#endif
/**
* Length of a ZeroTier address in bytes
*/