1 /* This file contains the SENDME cell definition. */
3 /* v1 digest length in bytes. */
4 const TRUNNEL_SENDME_V1_DIGEST_LEN = 20;
6 /* SENDME cell declaration. */
9 u8 version IN [0x00, 0x01];
11 /* Length of data contained in this cell. */
14 /* The data content depends on the version. */
15 union data[version] with length data_len {
17 0x01: u8 v1_digest[TRUNNEL_SENDME_V1_DIGEST_LEN];