1 /* This file contains the definition for the encrypted payload of a circuit
2 * parameter negotiation request/response portion of the trn_ntorv3 onionskin
3 * handshake. Currently only supports congestion control params. */
5 /* The following is encoded in the extension format. */
8 const TRUNNEL_EXT_TYPE_CC_FIELD_REQUEST = 0x01;
9 const TRUNNEL_EXT_TYPE_CC_FIELD_RESPONSE = 0x02;
12 * "Request" is an empty payload signalling that CC is enabled.
16 * "Response" consists of 1 single byte:
17 * SENDME_INC -- Min: 0, Max: 255
20 struct trn_extension_field_cc {