I need to do a source routing transmission in a network that contains 1 coordinator and 50 Routers. To do that I need to store in memory 50 source routes containing an undefined number of routes (hops).
I need to allocate space memory but I do not know the space that I will need because the routes are undefined. If I limit the maximum hops to 4, the source routes will have a maximum number of hops to 4?
Lets say I want to transmit from router R1 to router R7:
R1-> R2 -> R3 -> R4- -> R5 - > R6 -> R7
The question is, If I limit the hops to 4 what will happen is: (considering that R5 is in range of R7)
R1 -> R2 -> R3 -> R4 -> R5 -> R7