Framing Header

The Framing header is used by all packet types and is used as specified in [MS-WMSP] section with the following additional details.

B: This flag MUST always be set to 0.

PacketLength: This field MUST be set to the size of the Payload field, if any, that follows the Framing header, plus the size of the Reason field, if any. Thus, the value of this field MUST be equal to the number of bytes in the packet, which are counted starting from the end of this field.