summaryrefslogtreecommitdiff
path: root/core/ping.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/ping.h')
-rw-r--r--core/ping.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/core/ping.h b/core/ping.h
index 6d5a0ea6..1f30392c 100644
--- a/core/ping.h
+++ b/core/ping.h
@@ -7,10 +7,11 @@
7 7
8#include <stdbool.h> 8#include <stdbool.h>
9 9
10void init_ping(); 10void * new_ping(void);
11uint64_t add_ping(IP_Port ipp); 11void kill_ping(void * ping);
12bool is_pinging(IP_Port ipp, uint64_t ping_id); 12uint64_t add_ping(void * ping, IP_Port ipp);
13int send_ping_request(IP_Port ipp, clientid_t *client_id); 13bool is_pinging(void * ping, IP_Port ipp, uint64_t ping_id);
14int send_ping_response(IP_Port ipp, clientid_t *client_id, uint64_t ping_id); 14int send_ping_request(void * ping, Net_Crypto *c, IP_Port ipp, clientid_t *client_id);
15int send_ping_response(Net_Crypto *c, IP_Port ipp, clientid_t *client_id, uint64_t ping_id);
15int handle_ping_request(void * object, IP_Port source, uint8_t *packet, uint32_t length); 16int handle_ping_request(void * object, IP_Port source, uint8_t *packet, uint32_t length);
16int handle_ping_response(void * object, IP_Port source, uint8_t *packet, uint32_t length); 17int handle_ping_response(void * object, IP_Port source, uint8_t *packet, uint32_t length);