Definition: |
: the path in the destination list of core node |
: the active destination list of core node |
: the value of the path |
: the value of the path |
: total timeouts on in timeslot |
: the of the path |
: the destination selected to retransmit loss data |
Once having packet to resend |
1: for each destination do //scan all paths’ condition |
2: if status of == ACTIVE then |
3: put into ; //ignore the inactive paths |
4: end if |
5: end for |
6: set ; |
7: for (++) do |
//select the destination which has largest value in loop |
8: if (<) then |
9: set ; set ; |
10: end if |
//select the destination which has largest ssthresh value in loop |
11: if () then |
12: set ; set ; |
13: end if |
//select the destination which has lowest tor value in loop |
14: if () then |
15: set ; set ; |
16: end if |
//select the destination which has largest value in loop |
17: if () then |
18: set ; set ; |
19: end if |
20: end for |
21: if !(()&&( == )&&(j <> s)) then |
//path with largest is set as retransmission destination |
22: set ; |
23: else if !(()&&( == )&&(j <> t)) then |
//path with largest is set as retransmission destination |
24: set ; // |
25: else if !(()&&()&&(j <> t)) then |
//path with lowest tor is set as retransmission destination |
26: set ; |
27: else if !(()&&()&&(j <> w)) |
//path with largest is set as retransmission destination |
28: set ; |
//a tie will be broken by random selection |
29: else set with random (); |
30: end if |
let loss data be retransmitted on |