mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 13:43:47 +01:00
Clean up documentation for connection_t.addr a bit more.
This commit is contained in:
parent
7b3bd45cfe
commit
adec471595
@ -137,15 +137,11 @@ struct connection_t {
|
|||||||
* any more!
|
* any more!
|
||||||
*
|
*
|
||||||
* The misuses of this field include:
|
* The misuses of this field include:
|
||||||
* * Setting it to the canonical address of a relay on an OR connection.
|
|
||||||
* * Setting it on linked connections, possibly.
|
* * Setting it on linked connections, possibly.
|
||||||
* * Updating it based on the Forwarded-For header-- Forwarded-For is
|
* * Updating it based on the Forwarded-For header-- Forwarded-For is
|
||||||
* set by a proxy, but not a local trusted troxy.
|
* set by a proxy, but not a local trusted proxy.
|
||||||
**/
|
**/
|
||||||
tor_addr_t addr; /**< IP that socket "s" is directly connected to;
|
tor_addr_t addr;
|
||||||
* may be the IP address for a proxy or pluggable transport,
|
|
||||||
* see "address" for the address of the final destination.
|
|
||||||
*/
|
|
||||||
uint16_t port; /**< If non-zero, port that socket "s" is directly connected
|
uint16_t port; /**< If non-zero, port that socket "s" is directly connected
|
||||||
* to; may be the port for a proxy or pluggable transport,
|
* to; may be the port for a proxy or pluggable transport,
|
||||||
* see "address" for the port at the final destination. */
|
* see "address" for the port at the final destination. */
|
||||||
|
Loading…
Reference in New Issue
Block a user