-
Notifications
You must be signed in to change notification settings - Fork 0
/
sctp.1
105 lines (101 loc) · 3.32 KB
/
sctp.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
.SS "sctp MODULE OPTIONS"
See RFC 4960 and RFC 3309.
.TP
\-ss\ \fInum\fR
Set the \fBsource port\fR {0..65535}. Default:\ 0
.TP
\-sd\ \fInum\fR
Set the \fBdestination port\fR {0..65535}. Default:\ 0
.TP
\-sv\ \fIdata\fR
Set the \fBverification tag\fR to \fIdata\fR. Not more than 4 bytes are
copied over, others get silently ignored.
Default:\ auto, i.e. 0 if the current chunk is a init chunk, 1 otherwise.
.TP
\-sc\ \fInum\fR
Set the \fBchecksum\fR to \fInum\fR {0..0xffffffff}.
Default:\ auto
.TP
\-sT\ \fInum\fR
Set the \fBchunk type\fR to the given \fInum\fR {0..255}.
Note that multiple chunks may be included. Each chunk type begins a new chunk;
subsequent chunk-related fields are applied to that chunk.
Default:\ 0\ (i.e.\ a\ data\ chunk)
.TP
\-sF\ \fInum\fR
Set the \fBflags\fR of the current chunk to \fInum\fR {0..0xffff}. If no chunk
has been added so far, a new one gets created and added first.
Default:\ 0
.TP
\-sL\ \fInum\fR
Set the current \fBchunk length\fR to \fInum\fR {0..65535}. If no chunk has
been added so far, a new one gets created and added first.
Default:\ auto
.TP
\-sD\ \fIdata\fR
Append the given \fIdata\fR to the current chunk. If no chunk has
been added so far, a new one gets created and added first.
Default:\ 0
.TP
\-sI\ [\fItag\fR[\fB|\fIrwnd\fR[\fB|\fInout\fR[\fB|\fInin\fR[\fB|\fItsn\fR]]]]]
Create and add a complete \fBINIT chunk\fR according to the given parameters.
Each parameter is a \fInum\fR in the range as shown below. Missing trailing
parameters are set to the corresponding values shown as Default below.
However note, that \fIval\fR|| would result into \fIval\fR|0|0|\fIdefaults\fR !
Beside the bar (\fB|\fR) the following characters can be used as parameter
delimiters as well:
colon (\fB:\fR), dot (\fB.\fR), comma (\fB,\fR) and space (\fB \fR).
Other variable parameters may be appended to this chunk.
Default:\ 1|1000|1|1|1
The parameters are:
.RS
.TP
\fItag\fR
the initiate tag {0..0xffffffff},
.TP
\fIrwnd\fR
the advertised receiver window credit {0..0xffffffff},
.TP
\fInout\fR
the number of outbound streams {0..65535},
.TP
\fInin\fR
the number of inbound streams {0..65535},
.TP
\fItsn\fR
the initial Transmission Sequence Number (TSN) {0..0xffffffff}.
.RE
.TP
\-s4\ \fIv4addr\fR
Add a \fBIPv4\fR address of sending endpoint parameter using the given
IP \fIv4addr\fRess (type and length get set automatically).
.TP
\-s6\ \fIv6addr\fR
Add a \fBIPv6\fR address of sending endpoint parameter using the given
IP \fIv6addr\fRess. (type and length get set automatically).
.TP
\-sC\ \fInum\fR
Add a suggested \fBcookie\fR life-span increment parameter using the
given \fInum\fR {0..0xffffffff} (ms).
.TP
\-sH\ \fIhostname\fR
Add a \fBhost name\fR parameter using the given \fIhostname\fR (arbitrary
string of max. 65352 bytes).
.TP
\-sA\ \fInum\fR[\fB|\fInum\fR]...
Add a supported \fBaddress types\fR parameter using the given \fInum\fRs.
For now this utility supports max. 8 types, whereby 3 are officially defined,
only (5..IPv4, 6..IPv6, 11..hostname).
Beside the bar (\fB|\fR) the following characters can be used as parameter
delimiters as well:
colon (\fB:\fR), dot (\fB.\fR), comma (\fB,\fR) and space (\fB \fR).
.TP
\-sE
Add the \fBECN capable\fR parameter.
.TP
\-sW
Add the \fBforward TSN supported\fR parameter.
.TP
\-sY\ \fInum\fR
Add the \fBadaptation layer indication\fR parameter using the given
\fInum\fR {0..0xffffffff}.