cell_rendezvous.trunnel 546 B

123456789101112131415161718
  1. /*
  2. * This contains the definition of the RENDEZVOUS1 cell for onion service
  3. * version 3 and onward. The following format is specified in proposal 224
  4. * section 4.2.
  5. */
  6. /* Rendezvous cookie length. */
  7. const TRUNNEL_REND_COOKIE_LEN = 20;
  8. /* RENDEZVOUS1 payload. See details in section 4.2. */
  9. struct trn_cell_rendezvous1 {
  10. /* The RENDEZVOUS_COOKIE field. */
  11. u8 rendezvous_cookie[TRUNNEL_REND_COOKIE_LEN];
  12. /* The HANDSHAKE_INFO field which has a variable length depending on the
  13. * handshake type used. */
  14. u8 handshake_info[];
  15. };