mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
15860c8846
This changes a LOT of code but in the end, behavior is the same. Unfortunately, many functions had to be changed to accomodate but in majority of cases, to become simpler. Functions are also removed specifically those that were there to convert an IPv4 as a host format to a tor_addr_t. Those are not needed anymore. The IPv4 address field has been standardized to "ipv4_addr", the ORPort to "ipv4_orport" (currently IPv6 uses ipv6_orport) and DirPort to "ipv4_dirport". This is related to Sponsor 55 work that adds IPv6 support for relays and this work is needed in order to have a common interface between IPv4 and IPv6. Closes #40043. Signed-off-by: David Goulet <dgoulet@torproject.org>
6 lines
303 B
Plaintext
6 lines
303 B
Plaintext
o Code simplification and refactoring (relay address):
|
|
- Most of IPv4 representation was using "uint32_t". It has now been moved to
|
|
use the internal "tor_addr_t" interface instead. This is so we can
|
|
properly integrate IPv6 along IPv4 with common interfaces. Closes ticket
|
|
40043.
|