diff options
| author | David M. Syzdek <david.syzdek@acsalaska.com> | 2020-02-10 13:01:12 -0900 |
|---|---|---|
| committer | David M. Syzdek <david.syzdek@acsalaska.com> | 2020-02-10 13:01:12 -0900 |
| commit | d8e8800a0c2f4bcaac5e61f4bf29290aa0eb661e (patch) | |
| tree | 29d72c25affd7fabc1ac24657badf217cd1493ef /src/akcom-udpechod.c | |
| parent | c0919ad45200a748fd554c64f24c6b7a8f206541 (diff) | |
| download | akcom-udpecho-d8e8800a0c2f4bcaac5e61f4bf29290aa0eb661e.tar.gz akcom-udpecho-d8e8800a0c2f4bcaac5e61f4bf29290aa0eb661e.tar.bz2 akcom-udpecho-d8e8800a0c2f4bcaac5e61f4bf29290aa0eb661e.tar.xz akcom-udpecho-d8e8800a0c2f4bcaac5e61f4bf29290aa0eb661e.zip | |
akcom-udpechod: adjusting comments and whitespace
Diffstat (limited to '')
| -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 |
