Plumb injectPacketFromHost through to API.

This commit is contained in:
Adam Ierymenko 2014-10-03 14:49:11 -07:00
parent 6ab7b1b915
commit 351db7f1a0
5 changed files with 82 additions and 1 deletions

View file

@ -71,9 +71,9 @@ namespace ZeroTier {
*/
class NetworkConfig
{
public:
friend class SharedPtr<NetworkConfig>;
public:
/**
* Tuple of multicast rate parameters
*/
@ -91,6 +91,17 @@ public:
*/
static const MulticastRate DEFAULT_MULTICAST_RATE;
/**
* Create an instance of a NetworkConfig for the test network ID
*
* The test network ID is defined as ZT_TEST_NETWORK_ID. This is a
* "fake" network with no real netconf master and default options.
*
* @param self This node's ZT address
* @return Configured instance of netconf for test network ID
*/
static SharedPtr<NetworkConfig> createTestNetworkConfig(const Address &self);
/**
* @param d Dictionary containing configuration
* @throws std::invalid_argument Invalid configuration