diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/akcom-udpechod.c | 9 |
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 | ||
| 147 | static int should_stop = 0; | 147 | static int should_stop = 0; |
| 148 | 148 | ||
| 149 | static const char * prog_name = "a.out"; | 149 | static const char * prog_name = "a.out"; |
| 150 | |||
| 150 | static const char * cnf_pidfile = "/var/run/" PROGRAM_NAME ".pid"; | 151 | static const char * cnf_pidfile = "/var/run/" PROGRAM_NAME ".pid"; |
| 151 | static uint16_t cnf_port = 30006; | 152 | static uint16_t cnf_port = 30006; // UDP port number |
| 152 | static int cnf_echoplus = 0; | 153 | static int cnf_echoplus = 0; // enable echo plus |
| 153 | static int cnf_drop_perct = 0; | 154 | static int cnf_drop_perct = 0; // drop percentage |
| 154 | static useconds_t cnf_delay = 0; // Delay range in microseconds | 155 | static useconds_t cnf_delay = 0; // Delay range in microseconds |
| 155 | static int32_t cnf_verbose = 0; // runtime verbosity | 156 | static int32_t cnf_verbose = 0; // runtime verbosity |
| 156 | static int cnf_facility = LOG_DAEMON; // syslog facility | 157 | static int cnf_facility = LOG_DAEMON; // syslog facility |
