fn destination_endpoint(addr: SocketAddr) -> Endpoint