Process for regulating the traffic of an ad hoc network