You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
866 B
29 lines
866 B
#ifndef ROUTE_CONNECTIVITY_H |
|
#define ROUTE_CONNECTIVITY_H |
|
|
|
#ifdef __cplusplus |
|
extern "C" { |
|
#endif |
|
|
|
|
|
#include <stdint.h> |
|
#include "topo_node.h" |
|
|
|
struct UTUN_INSTANCE; |
|
|
|
// Запускает зондирование связности ко всем адресам удалённого узла |
|
void route_connectivity_probe_node(struct UTUN_INSTANCE* instance, |
|
struct TOPO_NODEQ* nq); |
|
|
|
// Отменяет все pending пробы для узла (при удалении / withdraw) |
|
void route_connectivity_cancel_node(struct UTUN_INSTANCE* instance, |
|
struct TOPO_NODEQ* nq); |
|
|
|
// Отменяет все pending пробы для всех узлов (при destroy) |
|
void route_connectivity_cancel_all(struct UTUN_INSTANCE* instance); |
|
|
|
|
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
#endif // ROUTE_CONNECTIVITY_H
|
|
|