mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-29 10:23:48 +02:00
docs
This commit is contained in:
parent
7c6d003a5e
commit
03b70d62d5
3 changed files with 9 additions and 2 deletions
6
Makefile
Normal file
6
Makefile
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
all:
|
||||||
|
|
||||||
|
clean: FORCE
|
||||||
|
rm -rf zerotier-core-crypto/target zerotier-network-hypervisor/target zerotier-system-service/target
|
||||||
|
|
||||||
|
FORCE:
|
|
@ -29,7 +29,8 @@ struct PoolInner<O, F: PoolFactory<O>>(F, Mutex<Vec<NonNull<PoolEntry<O, F>>>>);
|
||||||
/// When this is dropped the object is returned to the pool or if the pool or is
|
/// When this is dropped the object is returned to the pool or if the pool or is
|
||||||
/// dropped if the pool has been dropped. There is also an into_raw() and from_raw()
|
/// dropped if the pool has been dropped. There is also an into_raw() and from_raw()
|
||||||
/// functionality that allows conversion to/from naked pointers to O for
|
/// functionality that allows conversion to/from naked pointers to O for
|
||||||
/// interoperation with C/C++ APIs.
|
/// interoperation with C/C++ APIs. This in addition to being as slim as possible is
|
||||||
|
/// why we implemented our own pool.
|
||||||
///
|
///
|
||||||
/// Note that pooled objects are not clonable. If you want to share them use Rc<>
|
/// Note that pooled objects are not clonable. If you want to share them use Rc<>
|
||||||
/// or Arc<>.
|
/// or Arc<>.
|
||||||
|
|
|
@ -23,7 +23,7 @@ use zerotier_core_crypto::random::next_u64_secure;
|
||||||
use zerotier_core_crypto::salsa::Salsa;
|
use zerotier_core_crypto::salsa::Salsa;
|
||||||
use zerotier_core_crypto::secret::Secret;
|
use zerotier_core_crypto::secret::Secret;
|
||||||
|
|
||||||
use crate::{VERSION_MAJOR, VERSION_MINOR, VERSION_PROTO, VERSION_REVISION};
|
use crate::{VERSION_MAJOR, VERSION_MINOR, VERSION_PROTO, VERSION_REVISION, PacketBuffer};
|
||||||
use crate::defaults::UDP_DEFAULT_MTU;
|
use crate::defaults::UDP_DEFAULT_MTU;
|
||||||
use crate::util::pool::{Pool, PoolFactory};
|
use crate::util::pool::{Pool, PoolFactory};
|
||||||
use crate::vl1::{Dictionary, Endpoint, Identity, InetAddress, Path};
|
use crate::vl1::{Dictionary, Endpoint, Identity, InetAddress, Path};
|
||||||
|
|
Loading…
Add table
Reference in a new issue