File: SCTP.html

package info (click to toggle)
python-libtrace 1.6%2Bgit20180219-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,620 kB
  • sloc: ansic: 7,465; python: 3,472; makefile: 54; sh: 49
file content (140 lines) | stat: -rw-r--r-- 3,705 bytes parent folder | download | duplicates (3)
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html><head>



<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><title>IProtocol Decodes: SCTP</title>

<meta name="generator" content="KompoZer" />
<link rel="stylesheet" type="text/css" href="plt-doc.css" /></head><body>
<h2 style="text-align: left;">Network Layer Decodes</h2>
<h3>Class SCTP</h3>
<p>Provides access to the header and chunks of an SCTP Packet.</p>

<table class="indent1">
<tbody>
<tr>
<td class="heading" colspan="2">Instance Variables</td>
</tr>
<tr>
<td class="name methodwidth"><strong>src_port</strong><br />
</td>
<td class="name descriptionwidth"><em>sctp.src_port -&gt;
anInteger</em></td>
</tr>
<tr>
<td><br />
</td>
<td class="description">Source Port (16-bit).<br />
 </td>
</tr>
<tr>
<td class="name"><strong>dst_port</strong><br />
</td>
<td class="name"><em>sctp.code -&gt;
anInteger</em></td>
</tr>
<tr>
<td><br />
</td>
<td class="description">Destination Port (16-bit).<br />
 </td>
</tr>
<tr>
<td class="name"><strong>verification_tag</strong><br />
</td>
<td class="name"><em>sctp.verification_tag -&gt;
anInteger</em></td>
</tr>
<tr>
<td><br />
</td>
<td class="description">SCTP Verification Tag (32-bit).<br />
 </td>
</tr>
<tr><td style="font-weight: bold;" class="name">checksum<br />
</td><td class="name"><em>sctp.checksum -&gt;
anInteger</em></td>
</tr>
<tr>
<td><br />
</td><td class="description">SCTP checksum (32-bit).<br />
</td>
</tr>
<tr>
<td style="font-weight: bold;" class="name">chunks<br />
</td><td class="name"><em>sctp.chunks -&gt;aPythonList</em></td>
</tr>
<tr>
<td><br />
</td><td class="description">Returns a list of SCTP Chunk objects (see below).<br />
</td>
</tr>
</tbody>
</table>
<p>An SCTP Chunk object has the following attributes ...<span style="font-style: italic;" /></p>


<span style="font-weight: bold;"><table class="indent1"><tbody><tr><td class="heading" colspan="2">SCTP Chunk<br />
</td></tr><tr><td class="name methodwidth"><strong style="font-weight: bold;"><span style="font-weight: bold;">type</span></strong><br />
</td>
<td style="font-weight: normal;" class="name descriptionwidth"><em>chunk.type-&gt;
anInteger</em></td>
</tr>
<tr>
<td><br />
</td>
<td style="font-weight: normal;" class="description">SCTP chunk type (8-bit).<br />
 </td>
</tr>
<tr>
<td class="name"><strong>flags</strong></td>
<td style="font-weight: normal;" class="name"><em>chunk.flags -&gt;
anInteger</em></td>
</tr>
<tr>
<td><br />
</td>
<td style="font-weight: normal;" class="description">SCTP chunk flags (8-bit). </td>
</tr>
<tr>
<td class="name"><strong>length&nbsp;</strong></td>
<td style="font-weight: normal;" class="name">chunk.length -&gt; anInteger<br />
</td>
</tr>
<tr>
<td><br />
</td>
<td style="font-weight: normal;" class="description">SCTP chunk length (16-bit). </td>
</tr>
<tr>
<td class="name"><strong>is_ok&nbsp;</strong></td>
<td style="font-weight: normal;" class="name"><em>chunk.is_ok -&gt; True or False<br />
</em></td>
</tr>
<tr>
<td><br />
</td>
<td style="font-weight: normal;" class="description">True if all bytes in this chunk were captured,&nbsp; may be False if some of the chunk's later bytes were not captured.<br />
</td>
</tr>
<tr>
<td class="name"><strong>sequence&nbsp;</strong></td>
<td style="font-weight: normal;" class="name"><em>chunk.bytes -&gt; aByteArray<br />
</em></td>
</tr>
<tr>
<td><br />
</td>
<td style="font-weight: normal;" class="description">Byte array containing the chunks payload bytes.<br />
</td>
</tr>
    

</tbody>
</table></span><span style="font-weight: bold;">

<br /></span>
<p>Nevil Brownlee<br />Tue, 30 Jan 2018 (NZDT)</p>

</body></html>