Provides access to the header and chunks of an SCTP Packet.
| Instance Variables | |
| src_port |
sctp.src_port -> anInteger |
| Source Port (16-bit). |
|
| dst_port |
sctp.code -> anInteger |
| Destination Port (16-bit). |
|
| verification_tag |
sctp.verification_tag -> anInteger |
| SCTP Verification Tag (32-bit). |
|
| checksum | sctp.checksum -> anInteger |
| SCTP checksum (32-bit). |
|
| chunks | sctp.chunks ->aPythonList |
| Returns a list of SCTP Chunk objects (see below). |
|
An SCTP Chunk object has the following attributes ...
| SCTP Chunk | |
| type |
chunk.type-> anInteger |
| SCTP chunk type (8-bit). |
|
| flags | chunk.flags -> anInteger |
| SCTP chunk flags (8-bit). | |
| length | chunk.length -> anInteger |
| SCTP chunk length (16-bit). | |
| is_ok | chunk.is_ok -> True or False |
| True if all bytes in this chunk were captured, may be False if some of the chunk's later bytes were not captured. |
|
| sequence | chunk.bytes -> aByteArray |
| Byte array containing the chunks payload bytes. |
|
Nevil Brownlee
Tue, 30 Jan 2018 (NZDT)