relay: Stop using uint32_t addr for IPv4 and move to tor_addr_t
This is actually pretty big change. Originally, I planned to have it part of #40025 (closed) but it turns out quite a diff.
The goal is to stop using uint32_t addr
to represent an IPv4 address and inste
ad standardize it onto tor_addr_t
so the IPv4 and IPv6 interface are the same.
So many places in the code we convert from ipv4{h|n}
to tor_addr_t
, it is not pretty so this ticket is to move every use of those for relay objects (ri, rs, md, etc...).