Performance modeling of epidemic routing