|
|
|
|
@ -20,6 +20,7 @@ extern "C" {
|
|
|
|
|
#include "etcp_padding.h" |
|
|
|
|
#include "reality_io.h" |
|
|
|
|
#include "etcp_api.h" |
|
|
|
|
#include "transport_layer/etcp_tx_stats.h" |
|
|
|
|
#include "config_parser.h" |
|
|
|
|
#include "stcp_link.h" |
|
|
|
|
#include "firewall.h" |
|
|
|
|
@ -122,6 +123,7 @@ struct peer_sleep_cbk_entry {
|
|
|
|
|
|
|
|
|
|
// Состояние одного узла. Вложенные модули освобождаются через их lifecycle API.
|
|
|
|
|
struct UTUN_INSTANCE { |
|
|
|
|
struct etcp_tx_history tx_history; |
|
|
|
|
struct reality_owner reality_owner; |
|
|
|
|
uint8_t core_started, utun_started, chat_started; // успешный запуск ядра / UTUN / чата
|
|
|
|
|
|
|
|
|
|
|