| 1 |
.TH sctp_test 1 |
| 2 |
.SH NAME |
| 3 |
sctp_test \- Send and receive messages via SCTP |
| 4 |
|
| 5 |
.SH SYNOPSIS |
| 6 |
.B sctp_test -H -P -h -p -l|s |
| 7 |
|
| 8 |
.SH DESCRIPTION |
| 9 |
This is a userspace test application for the SCTP Linux kernel reference |
| 10 |
implementation. |
| 11 |
|
| 12 |
.SH OPTIONS |
| 13 |
.PP |
| 14 |
.IP "-H \fIlocal-addr\fP" |
| 15 |
.IP "-P \fIlocal-port\fP" |
| 16 |
.IP "-h \fIremote-addr\fP" |
| 17 |
.IP "-p \fIremote-port\fP" |
| 18 |
.IP "-s" |
| 19 |
Act as client |
| 20 |
.IP "-l" |
| 21 |
Listen for connections (server) |
| 22 |
.IP "-a \fIassoc_pattern\fP" |
| 23 |
assoc_pattern in the mixed mode |
| 24 |
0 = sequential ascending(default) |
| 25 |
1 = random |
| 26 |
.IP "-d \fIdebug\fP" |
| 27 |
0 = none |
| 28 |
1 = min(default) |
| 29 |
2 = max |
| 30 |
.IP "-c \fItestcase\fP" |
| 31 |
0 = 1 byte packets. |
| 32 |
1 = 1352 byte packets. |
| 33 |
(fragmentation point for an i/f with 1500 as mtu.) |
| 34 |
2 = 1353 byte packets. |
| 35 |
(min. size at which fragmentation occurs |
| 36 |
for an i/f with 1500 as mtu.) |
| 37 |
3 = Sequence of 1, 1353, 32768 byte packets. |
| 38 |
4 = Sequence of following size packets. |
| 39 |
(1, 1000, 2000, 3000, 5000, 10000,15000, 20000, 25000, 32768) |
| 40 |
5 = 32768 byte packets. |
| 41 |
(default max receive window size.) |
| 42 |
6 = random size packets. |
| 43 |
.IP "-ve \fIvalue\fP" |
| 44 |
Packets of specifed size. |
| 45 |
.IP "-m \fImsgsize\fP" |
| 46 |
(1500-65515, default value 32768) |
| 47 |
.IP "-x \fInumber_of_repeats\fP" |
| 48 |
.IP "-o \fIorder_pattern\fP" |
| 49 |
0 = all unordered(default) |
| 50 |
1 = all ordered |
| 51 |
2 = alternating |
| 52 |
3 = random |
| 53 |
.I "-t \fIstream_pattern\fP" |
| 54 |
0 = sequential ascending(default) |
| 55 |
1 = random |
| 56 |
.I "-M \fImax_stream\fP" |
| 57 |
(default value 0) |
| 58 |
.I "-r \fIseed\fP" |
| 59 |
(default 0, use time()) |
| 60 |
.I "-L \fInum_ports\fP" |
| 61 |
(default value 0). Run the mixed mode |
| 62 |
.I "-S \fInum_ports\fP" |
| 63 |
(default value 0). Run the mixed mode |
| 64 |
.I "-D" |
| 65 |
Drain. If in client mode do a read following send. |
| 66 |
|
| 67 |
.SH USAGE |
| 68 |
.PP |
| 69 |
.B server: |
| 70 |
.B sctp_test -H \fIlocal_addr\fP -P \fIlocal_port\fP -l |
| 71 |
|
| 72 |
.PP |
| 73 |
.B client: |
| 74 |
.B sctp_test -H \fIlocal_addr\fP -P \fIlocal_port\fP -h \fIremote_addr\fP |
| 75 |
-p \fIremote-port\fP -s |
| 76 |
|
| 77 |
.SH AUTHOR |
| 78 |
Michael Biebl <[email protected]> |