[PATCH openEuler-1.0-LTS 2/3] tcp: create a helper to model exponential backoff