[PATCH openEuler-1.0-LTS V3 5/6] tcp: create a helper to model exponential backoff