fix: restore original source content after refactoring (accidental code changes removed)

This commit is contained in:
Evgeny committed 2026-07-21 20:35:02 +03:00
1 parent fcf3fb7f51
commit 542694a0e9
10 files changed
+35 -225

No files matched your search

-7
View File
@@ -31,7 +31,6 @@ extern "C" {
#include "secure_channel.h"
struct TOPO_GROUP;
struct TOPO_GROUPS;
struct ETCP_SOCKET;
struct UTUN_INSTANCE;
@@ -101,12 +100,9 @@ struct TOPO_CONNECTIVITY {
uint64_t nat_probe_time;
uint64_t real_probe_time;
uint64_t ping_req_time;
uint64_t last_ping_time; // время последнего успешного пинга (0.1ms timebase)
void* probe_list;
};
#define PING_TTL_TB (86400ULL * 10000ULL) // 1 день в 0.1ms units
// =======================================================================
// Протокольные структуры (wire-format, packed, без next)
// =======================================================================
@@ -274,9 +270,6 @@ int topo_group_update_my_nodeinfo(struct UTUN_INSTANCE* instance, struct TOPO_GR
void topo_node_dump_all(struct TOPO_GROUP* group);
int topo_node_format_all(struct TOPO_GROUP* group, char* buf, size_t buf_size);
int topo_node_ping_request_cbk(struct TOPO_GROUPS* groups, uint64_t node_id);
void topo_node_ping_update_rtt(struct TOPO_GROUPS* groups, uint64_t node_id, uint16_t rtt);
#ifdef __cplusplus
}
#endif