tor/src/feature/dirauth
David Goulet 15860c8846 addr: Use tor_addr_t instead of uint32_t for IPv4
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>
2020-07-14 10:36:08 -04:00
..
.may_include Add config object for dirauth; move one option there. 2019-12-19 07:54:56 -05:00
authmode.c Merge branch 'pre_formatter_cleanups_squashed' 2020-01-09 07:32:39 -05:00
authmode.h Merge branch 'pre_formatter_cleanups_squashed' 2020-01-09 07:32:39 -05:00
bridgeauth.c It's 2020. Update the copyright dates with "make update-copyright" 2020-01-08 18:39:17 -05:00
bridgeauth.h It's 2020. Update the copyright dates with "make update-copyright" 2020-01-08 18:39:17 -05:00
bwauth.c Merge branch 'ticket32806' 2020-01-17 08:37:33 -05:00
bwauth.h It's 2020. Update the copyright dates with "make update-copyright" 2020-01-08 18:39:17 -05:00
dirauth_config.c addr: Remove resolve_my_address_v4() 2020-06-24 13:51:37 -04:00
dirauth_config.h relay/dirauth: Set some output arguments in stubs 2020-03-20 07:56:26 -04:00
dirauth_options.inc Remove special authority semantics for AssumeReachable. 2020-06-26 08:37:36 -04:00
dirauth_options_st.h Merge branch 'ticket32806' 2020-01-17 08:37:33 -05:00
dirauth_periodic.c It's 2020. Update the copyright dates with "make update-copyright" 2020-01-08 18:39:17 -05:00
dirauth_periodic.h It's 2020. Update the copyright dates with "make update-copyright" 2020-01-08 18:39:17 -05:00
dirauth_stub.c Add a SUBSYS_DECLARE_LOCATION() to every subsystem. 2020-03-26 11:20:20 -04:00
dirauth_sys.c Add a SUBSYS_DECLARE_LOCATION() to every subsystem. 2020-03-26 11:20:20 -04:00
dirauth_sys.h Merge branch 'ticket32806' 2020-01-17 08:37:33 -05:00
dircollate.c Use semicolons after HT_PROTOTYPE and HT_GENERATE. 2020-02-10 12:54:43 -05:00
dircollate.h It's 2020. Update the copyright dates with "make update-copyright" 2020-01-08 18:39:17 -05:00
dirvote.c addr: Use tor_addr_t instead of uint32_t for IPv4 2020-07-14 10:36:08 -04:00
dirvote.h Update the list of recommended protocol versions to match >=0.3.5. 2020-06-17 11:07:43 -04:00
dsigs_parse.c It's 2020. Update the copyright dates with "make update-copyright" 2020-01-08 18:39:17 -05:00
dsigs_parse.h It's 2020. Update the copyright dates with "make update-copyright" 2020-01-08 18:39:17 -05:00
feature_dirauth.md Doxygen: rename all .dox files to end with .md 2019-11-15 09:28:12 -05:00
guardfraction.c spell consensus more right in comments 2020-03-27 02:56:59 -04:00
guardfraction.h It's 2020. Update the copyright dates with "make update-copyright" 2020-01-08 18:39:17 -05:00
include.am Move voting_schedule.[ch] to src/feature/dirauth/ 2020-02-24 10:00:51 -05:00
keypin.c Merge branch 'maint-0.4.3' 2020-05-06 16:47:03 -04:00
keypin.h Merge branch 'pre_formatter_cleanups_squashed' 2020-01-09 07:32:39 -05:00
ns_detached_signatures_st.h It's 2020. Update the copyright dates with "make update-copyright" 2020-01-08 18:39:17 -05:00
process_descs.c addr: Use tor_addr_t instead of uint32_t for IPv4 2020-07-14 10:36:08 -04:00
process_descs.h relay/dirauth: Set some output arguments in stubs 2020-03-20 07:56:26 -04:00
reachability.c addr: Use tor_addr_t instead of uint32_t for IPv4 2020-07-14 10:36:08 -04:00
reachability.h It's 2020. Update the copyright dates with "make update-copyright" 2020-01-08 18:39:17 -05:00
recommend_pkg.c It's 2020. Update the copyright dates with "make update-copyright" 2020-01-08 18:39:17 -05:00
recommend_pkg.h It's 2020. Update the copyright dates with "make update-copyright" 2020-01-08 18:39:17 -05:00
shared_random.c Rename voting_schedule_*() functions. 2020-02-24 10:07:09 -05:00
shared_random.h It's 2020. Update the copyright dates with "make update-copyright" 2020-01-08 18:39:17 -05:00
shared_random_state.c Merge branch 'maint-0.4.3' 2020-05-04 10:25:53 -04:00
shared_random_state.h It's 2020. Update the copyright dates with "make update-copyright" 2020-01-08 18:39:17 -05:00
vote_microdesc_hash_st.h It's 2020. Update the copyright dates with "make update-copyright" 2020-01-08 18:39:17 -05:00
voteflags.c Remove special authority semantics for AssumeReachable. 2020-06-26 08:37:36 -04:00
voteflags.h It's 2020. Update the copyright dates with "make update-copyright" 2020-01-08 18:39:17 -05:00
voting_schedule.c Comment updates from review. 2020-03-03 14:35:01 +02:00
voting_schedule.h Make voting_schedule.h work correctly when dirauth-mode is disabled. 2020-03-03 14:35:01 +02:00