2.2.3 Constants

Constants for various messages are defined as follows.

In the MESSAGE_HEADER structure (section 2.2.6.2), the Signature field contains the MESSAGE_SIGNATURE.

 #define MESSAGE_SIGNATURE  0x535458454f47454ei64  // "NEGOEXTS"

In the CHECKSUM structure (section 2.2.5.1.3), the ChecksumScheme field describes how checksum is computed and verified.

 #define CHECKSUM_SCHEME_RFC3961  1

The ALERT_MESSAGE structure (section 2.2.6.6) uses the following alert type.

 #define ALERT_TYPE_PULSE 1

The following is the reason code for the heartbeat message.

 #define ALERT_VERIFY_NO_KEY  1