2.2.1 InternalHeader

The InternalHeader contains packet type and state information for the session. This header is used by internal packets.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Reserved

Flags

Reserved (2 bytes): A 16-bit unsigned short integer reserved for future use. MUST be set to zero when sent and MUST be ignored on receipt.

Flags (2 bytes): A 16-bit unsigned short integer that contains a set of options that provide additional information about the packet. Any combination of these values is acceptable unless otherwise noted following.

Where the bits are defined as follows:


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

PT

A

B

C

D

E

F

G

H

I

J

K

L

PT (4 bits): Specifies the packet type. These fields MUST be set to one of the following value combinations.

Value

Meaning

0x1

SessionAck Packet (section 2.2.6)

0x2

EstablishConnection Packet (section 2.2.3)

0x3

ConnectionParameters Packet (section 2.2.2)

Any value not specified in the preceding table MUST be treated as an error by closing the session.

A - CS (1 bit): Specifies connection state. This field is used during the session negotiation to establish a connection. When set, CS indicates that the connection is refused. This field MUST NOT be set in any packet other than an EstablishConnection Packet or a ConnectionParameters Packet. This bit MUST be set when the EstablishConnectionHeader.ServerGuid field is zero or not equal to the receiving queue manager's GUID. This bit SHOULD<12> be set when the connection violates server policies such as connection quotas.

B - X5 (1 bit): Reserved. SHOULD NOT be set when sent and MUST be ignored on receipt.

C - X6 (1 bit): Reserved. SHOULD NOT be set when sent and MUST be ignored on receipt.

D - X7 (1 bit): Reserved. SHOULD NOT be set when sent and MUST be ignored on receipt.

E - X8 (1 bit): Reserved. SHOULD NOT be set when sent and MUST be ignored on receipt.

F - X9 (1 bit): Reserved. SHOULD NOT be set when sent and MUST be ignored on receipt.

G - X10 (1 bit): Reserved. SHOULD NOT be set when sent and MUST be ignored on receipt.

H - X11 (1 bit): Reserved. SHOULD NOT be set when sent and MUST be ignored on receipt.

I - X12 (1 bit): Reserved. SHOULD NOT be set when sent and MUST be ignored on receipt.

J - X13 (1 bit): Reserved. SHOULD NOT be set when sent and MUST be ignored on receipt.

K - X14 (1 bit): Reserved. SHOULD NOT be set when sent and MUST be ignored on receipt.

L - X15 (1 bit): Reserved. SHOULD NOT be set when sent and MUST be ignored on receipt.