added callback function to use as ip_get_next_hop()
Defined a callback for the actual routing protocol to decide the next hop.

The passed array of routing entry pointers allows the routing protocol to take all metrics into account while choosing the next hop.
It is assumed that the routing protocol adjusts the next hop metrics according e.g. the usecount or lifetime here.