aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/akcom-udpecho.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/akcom-udpecho.c')
-rw-r--r--src/akcom-udpecho.c20
1 files changed, 2 insertions, 18 deletions
diff --git a/src/akcom-udpecho.c b/src/akcom-udpecho.c
index b5111b9..4001d71 100644
--- a/src/akcom-udpecho.c
+++ b/src/akcom-udpecho.c
@@ -79,6 +79,8 @@
79#include <signal.h> 79#include <signal.h>
80#include <poll.h> 80#include <poll.h>
81 81
82#include "akcom-udpecho.h"
83
82 84
83/////////////////// 85///////////////////
84// // 86// //
@@ -105,24 +107,6 @@
105///////////////// 107/////////////////
106#pragma mark - Datatypes 108#pragma mark - Datatypes
107 109
108union my_sa
109{
110 struct sockaddr sa;
111 struct sockaddr_in sin;
112 struct sockaddr_in6 sin6;
113 struct sockaddr_storage ss;
114};
115
116
117struct udp_echo_plus
118{
119 uint32_t req_sn;
120 uint32_t res_sn;
121 uint32_t recv_time;
122 uint32_t reply_time;
123 uint32_t failures;
124};
125
126 110
127///////////////// 111/////////////////
128// // 112// //