Toward a unified routing framework for delay-tolerant networking