aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/akcom-udpechod.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/akcom-udpechod.c b/src/akcom-udpechod.c
index 9ec048d..0fef313 100644
--- a/src/akcom-udpechod.c
+++ b/src/akcom-udpechod.c
@@ -144,13 +144,14 @@ struct udp_echo_plus
144///////////////// 144/////////////////
145#pragma mark - Variables 145#pragma mark - Variables
146 146
147static int should_stop = 0; 147static int should_stop = 0;
148 148
149static const char * prog_name = "a.out"; 149static const char * prog_name = "a.out";
150
150static const char * cnf_pidfile = "/var/run/" PROGRAM_NAME ".pid"; 151static const char * cnf_pidfile = "/var/run/" PROGRAM_NAME ".pid";
151static uint16_t cnf_port = 30006; 152static uint16_t cnf_port = 30006; // UDP port number
152static int cnf_echoplus = 0; 153static int cnf_echoplus = 0; // enable echo plus
153static int cnf_drop_perct = 0; 154static int cnf_drop_perct = 0; // drop percentage
154static useconds_t cnf_delay = 0; // Delay range in microseconds 155static useconds_t cnf_delay = 0; // Delay range in microseconds
155static int32_t cnf_verbose = 0; // runtime verbosity 156static int32_t cnf_verbose = 0; // runtime verbosity
156static int cnf_facility = LOG_DAEMON; // syslog facility 157static int cnf_facility = LOG_DAEMON; // syslog facility