Skip to content
  • David Goulet's avatar
    addr: New function relay_address_new_suggestion() · 192d367b
    David Goulet authored
    
    
    This behaves like router_new_address_suggestion() but differs in couple of
    ways:
    
      1. It takes a tor_addr_t instead of an address string and supports both
         AF_INET and AF_INET6.
      2. It does _not_ use the last_guessed_ip local cache and instead only relies
         on the last resolved address cache in resolve_addr.c
    
    It is not used at this commit. This function is made to process a suggested
    address found in a NETINFO cell exactly like router_new_address_suggestion()
    does with the address a directory suggests us.
    
    Related to #40022
    
    Signed-off-by: David Goulet's avatarDavid Goulet <dgoulet@torproject.org>
    192d367b