Get rid of all these nasty _im_.
Add the right references
Allow selective update to be independently set for cpu and network model.
Cosmetics
Apply the optimization mechanism as requested in config flag.
Start using optimization mode flag in network.
New values from INRIA RR-7821 (callibration when phase effects are removed).
Check for failed links on back_route when crosstraffic is activated
Rename misleading "fullduplex" keyword to "crosstraffic".
Argh I was confused between UM_FULL and UM_LAZY. This commit sets it right.
Merge network.c and network_im.c
plug some more memleaks. We have no leak on the GOAL example anymore, yuhu
kill the now useless 'cleanup' parameter of routing_get_route_and_latency Instead, if route == NULL we won't bother collecting the route, so freeing is useless. If *route == NULL, we create a short-lived dynar (equivalent to the result of having cleanup=1 previously else, we fill that route without messing with it
kill global_routing->get_route_no_cleanup() use routing_get_route_and_latency(....., 0) instead
kill routing_get_route(), use routing_get_route_and_latency() instead
Simply say fun_ptr(...) instead of (*fun_ptr)(...). Another possible cleanup in the same spirit is to remove the ampersand when taking the address of a function. This is left as an exercise for the reader.
That pointer to function was never given anything but one value The global_routing value seem to be used to group functions together, but the fields cannot be given another value. Of course, I'm gonna kill em all.
factorize the routing_exit functionality, and ensure that no model can forget to call it
Remove declaration for inexistent functions.
These functions are declared static, define them static too.