2.2.4 FIN Packet
The FIN packet is sent to indicate that the sending entity will no longer use the session to send or receive data.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SMID |
FLAGS |
SID |
|||||||||||||||||||||||||||||
LENGTH |
|||||||||||||||||||||||||||||||
SEQNUM |
|||||||||||||||||||||||||||||||
WNDW |
SMID (1 byte): See section 2.2.1 for a description of the SMID field.
FLAGS (1 byte): This unsigned integer contains control flags that identify this packet as a FIN packet. The value of the FLAGS field MUST be 0x04.
SID (2 bytes): The SID field MUST be set to the value that was set when the session was opened. See section 2.2.1 for a description of the SID field.
LENGTH (4 bytes): The value of the LENGTH field MUST be 0x00000010. See section 2.2.1 for a description of the LENGTH field.
SEQNUM (4 bytes): See section 2.2.1 for a description of the SEQNUM field.
WNDW (4 bytes): See section 2.2.1 for a description of the WNDW field.