summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorSander Vrijders <[email protected]>2016-09-02 15:10:41 +0200
committerSander Vrijders <[email protected]>2016-09-02 15:10:41 +0200
commitab836771789619442f6ea593d5ddb5cc8252d2d5 (patch)
tree6702377ac9124fc52132bd8bec3285cef112d546 /src/tools
parent10d74eef2851e032ee92c62907a7e8e6db230369 (diff)
parent87844bfedef0f48bdd4bcee3ce94840588fffc2f (diff)
downloadouroboros-ab836771789619442f6ea593d5ddb5cc8252d2d5.tar.gz
ouroboros-ab836771789619442f6ea593d5ddb5cc8252d2d5.zip
Merged in dstaesse/ouroboros/be-split-fp (pull request #239)
src: Fix grammar (SDU's -> SDUs)
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/cbr/cbr.c8
-rw-r--r--src/tools/oping/oping_client.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/src/tools/cbr/cbr.c b/src/tools/cbr/cbr.c
index e42492df..27c51586 100644
--- a/src/tools/cbr/cbr.c
+++ b/src/tools/cbr/cbr.c
@@ -44,7 +44,7 @@ struct s {
static void usage(void)
{
printf("Usage: cbr [OPTION]...\n"
- "Sends SDU's from client to server at a constant bit rate.\n\n"
+ "Sends SDUs from client to server at a constant bit rate.\n\n"
" -l, --listen Run in server mode\n"
"\n"
"Server options:\n"
@@ -54,10 +54,10 @@ static void usage(void)
"Client options:\n"
" -n, --server_apn Specify the name of the server.\n"
" -d, --duration Duration for sending (s)\n"
- " -f, --flood Send SDU's as fast as possible\n"
+ " -f, --flood Send SDUs as fast as possible\n"
" -s, --size SDU size (B)\n"
" -r, --rate Rate (b/s)\n"
- " --sleep Sleep in between sending sdu's\n"
+ " --sleep Sleep in between sending SDUs\n"
"\n\n"
" --help Display this help text and exit\n");
}
@@ -65,7 +65,7 @@ static void usage(void)
int main(int argc, char ** argv)
{
int duration = 60; /* One minute test */
- int size = 1000; /* 1000 byte SDU's */
+ int size = 1000; /* 1000 byte SDUs */
long rate = 1000000; /* 1 Mb/s */
bool flood = false;
bool sleep = false;
diff --git a/src/tools/oping/oping_client.c b/src/tools/oping/oping_client.c
index 0d4a10af..6e1fbc54 100644
--- a/src/tools/oping/oping_client.c
+++ b/src/tools/oping/oping_client.c
@@ -216,7 +216,7 @@ int client_main()
printf("\n");
printf("--- %s ping statistics ---\n", client.s_apn);
- printf("%d SDU's transmitted, ", client.sent);
+ printf("%d SDUs transmitted, ", client.sent);
printf("%d received, ", client.rcvd);
printf("%d%% packet loss, ", client.sent == 0 ? 0 :
100 - ((100 * client.rcvd) / client.sent));