diff options
author | Sander Vrijders <[email protected]> | 2018-10-05 10:24:01 +0200 |
---|---|---|
committer | Dimitri Staessens <[email protected]> | 2018-10-05 10:35:25 +0200 |
commit | 5d11a6ad590133c92925c6162eb47b4401f16bef (patch) | |
tree | 6f73939f27f06cc575e1a90be8271172aa1362d8 /src/tools/ocbr/ocbr.c | |
parent | ae64a71552b956a2b6d77ecdbd5978043da1150f (diff) | |
download | ouroboros-5d11a6ad590133c92925c6162eb47b4401f16bef.tar.gz ouroboros-5d11a6ad590133c92925c6162eb47b4401f16bef.zip |
ipcpd, lib, irmd, tools: Change SDU to packet
This will change SDU (Service Data Unit) to packet everywhere. SDU is
OSI terminology, whereas packet is Ouroboros terminology.
Signed-off-by: Sander Vrijders <[email protected]>
Signed-off-by: Dimitri Staessens <[email protected]>
Diffstat (limited to 'src/tools/ocbr/ocbr.c')
-rw-r--r-- | src/tools/ocbr/ocbr.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tools/ocbr/ocbr.c b/src/tools/ocbr/ocbr.c index e2bd84af..12983da3 100644 --- a/src/tools/ocbr/ocbr.c +++ b/src/tools/ocbr/ocbr.c @@ -60,7 +60,7 @@ struct s { static void usage(void) { printf("Usage: cbr [OPTION]...\n" - "Sends SDUs from client to server at a constant bit rate.\n\n" + "Sends packets from client to server at a constant bit rate.\n\n" " -l, --listen Run in server mode\n" "\n" "Server options:\n" @@ -70,10 +70,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 SDUs as fast as possible\n" - " -s, --size SDU size (B, max %ld B)\n" + " -f, --flood Send packets as fast as possible\n" + " -s, --size packet size (B, max %ld B)\n" " -r, --rate Rate (b/s)\n" - " --sleep Sleep in between sending SDUs\n" + " --sleep Sleep in between sending packets\n" "\n\n" " --help Display this help text and exit\n", BUF_SIZE); @@ -82,7 +82,7 @@ static void usage(void) int main(int argc, char ** argv) { int duration = 60; /* One minute test */ - int size = 1000; /* 1000 byte SDUs */ + int size = 1000; /* 1000 byte packets */ long rate = 1000000; /* 1 Mb/s */ bool flood = false; bool sleep = false; |