mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-13 06:33:44 +01:00
Light edits to extend_info_t docs
This commit is contained in:
parent
20d1a1cdbd
commit
56e33f73f1
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
/** Information on router used when extending a circuit. We don't need a
|
/** Information on router used when extending a circuit. We don't need a
|
||||||
* full routerinfo_t to extend: we only need addr:port:keyid to build an OR
|
* full routerinfo_t to extend: we only need addr:port:keyid to build an OR
|
||||||
* connection, and onion_key to create the onionskin. Note that for onehop
|
* connection, and onion_key to create the onionskin. Note that for one-hop
|
||||||
* general-purpose tunnels, the onion_key is NULL. */
|
* general-purpose tunnels, the onion_key is NULL. */
|
||||||
struct extend_info_t {
|
struct extend_info_t {
|
||||||
char nickname[MAX_HEX_NICKNAME_LEN+1]; /**< This router's nickname for
|
char nickname[MAX_HEX_NICKNAME_LEN+1]; /**< This router's nickname for
|
||||||
@ -28,7 +28,9 @@ struct extend_info_t {
|
|||||||
ed25519_public_key_t ed_identity;
|
ed25519_public_key_t ed_identity;
|
||||||
uint16_t port; /**< OR port. */
|
uint16_t port; /**< OR port. */
|
||||||
tor_addr_t addr; /**< IP address. */
|
tor_addr_t addr; /**< IP address. */
|
||||||
crypto_pk_t *onion_key; /**< Current onionskin key. */
|
/** TAP onion key for this hop. */
|
||||||
|
crypto_pk_t *onion_key;
|
||||||
|
/** Ntor onion key for this hop. */
|
||||||
curve25519_public_key_t curve25519_onion_key;
|
curve25519_public_key_t curve25519_onion_key;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user