Function libzt::zts_node_stop[][src]

pub unsafe extern "C" fn zts_node_stop() -> c_int
Expand description

@brief Stop the ZeroTier node and bring down all virtual network transport services. Callable only after the node has been started.

While the ZeroTier will stop, the stack driver (with associated timers) will remain active in case future traffic processing is required. To stop all activity and free all resources use zts_free() instead.

@return ZTS_ERR_OK if successful, ZTS_ERR_SERVICE if the node experiences a problem.