tag | line | file | source code |
routes | 79 | include/net/netrom.h | struct nr_route routes[3]; |
routes | 126 | net/netrom/nr_route.c | nr_node->routes[0].quality = quality; |
routes | 127 | net/netrom/nr_route.c | nr_node->routes[0].obs_count = obs_count; |
routes | 128 | net/netrom/nr_route.c | nr_node->routes[0].neighbour = nr_neigh->number; |
routes | 144 | net/netrom/nr_route.c | if (nr_node->routes[i].neighbour == nr_neigh->number) { |
routes | 145 | net/netrom/nr_route.c | nr_node->routes[i].quality = quality; |
routes | 146 | net/netrom/nr_route.c | nr_node->routes[i].obs_count = obs_count; |
routes | 155 | net/netrom/nr_route.c | nr_node->routes[2] = nr_node->routes[1]; |
routes | 156 | net/netrom/nr_route.c | nr_node->routes[1] = nr_node->routes[0]; |
routes | 158 | net/netrom/nr_route.c | nr_node->routes[0].quality = quality; |
routes | 159 | net/netrom/nr_route.c | nr_node->routes[0].obs_count = obs_count; |
routes | 160 | net/netrom/nr_route.c | nr_node->routes[0].neighbour = nr_neigh->number; |
routes | 166 | net/netrom/nr_route.c | if (quality > nr_node->routes[2].quality) { |
routes | 167 | net/netrom/nr_route.c | nr_node->routes[2].quality = quality; |
routes | 168 | net/netrom/nr_route.c | nr_node->routes[2].obs_count = obs_count; |
routes | 169 | net/netrom/nr_route.c | nr_node->routes[2].neighbour = nr_neigh->number; |
routes | 179 | net/netrom/nr_route.c | if (nr_node->routes[1].quality > nr_node->routes[0].quality) { |
routes | 185 | net/netrom/nr_route.c | nr_route = nr_node->routes[0]; |
routes | 186 | net/netrom/nr_route.c | nr_node->routes[0] = nr_node->routes[1]; |
routes | 187 | net/netrom/nr_route.c | nr_node->routes[1] = nr_route; |
routes | 189 | net/netrom/nr_route.c | if (nr_node->routes[2].quality > nr_node->routes[1].quality) { |
routes | 195 | net/netrom/nr_route.c | nr_route = nr_node->routes[1]; |
routes | 196 | net/netrom/nr_route.c | nr_node->routes[1] = nr_node->routes[2]; |
routes | 197 | net/netrom/nr_route.c | nr_node->routes[2] = nr_route; |
routes | 200 | net/netrom/nr_route.c | if (nr_node->routes[1].quality > nr_node->routes[0].quality) { |
routes | 206 | net/netrom/nr_route.c | nr_route = nr_node->routes[0]; |
routes | 207 | net/netrom/nr_route.c | nr_node->routes[0] = nr_node->routes[1]; |
routes | 208 | net/netrom/nr_route.c | nr_node->routes[1] = nr_route; |
routes | 215 | net/netrom/nr_route.c | if (nr_node->routes[i].neighbour == nr_neigh->number) { |
routes | 310 | net/netrom/nr_route.c | if (nr_node->routes[i].neighbour == nr_neigh->number) { |
routes | 323 | net/netrom/nr_route.c | nr_node->routes[0] = nr_node->routes[1]; |
routes | 325 | net/netrom/nr_route.c | nr_node->routes[1] = nr_node->routes[2]; |
routes | 417 | net/netrom/nr_route.c | switch (s->routes[i].obs_count) { |
routes | 429 | net/netrom/nr_route.c | if (t->number == s->routes[i].neighbour) { |
routes | 443 | net/netrom/nr_route.c | s->routes[0] = s->routes[1]; |
routes | 445 | net/netrom/nr_route.c | s->routes[1] = s->routes[2]; |
routes | 452 | net/netrom/nr_route.c | s->routes[i].obs_count--; |
routes | 486 | net/netrom/nr_route.c | if (t->routes[i].neighbour == s->number) { |
routes | 491 | net/netrom/nr_route.c | t->routes[0] = t->routes[1]; |
routes | 493 | net/netrom/nr_route.c | t->routes[1] = t->routes[2]; |
routes | 640 | net/netrom/nr_route.c | if (nr_node->which >= nr_node->count && nr_node->routes[nr_node->which].neighbour == nr_neigh->number) |
routes | 688 | net/netrom/nr_route.c | if (nr_neigh->number == nr_node->routes[nr_node->which].neighbour) |
routes | 732 | net/netrom/nr_route.c | nr_node->routes[i].quality, |
routes | 733 | net/netrom/nr_route.c | nr_node->routes[i].obs_count, |
routes | 734 | net/netrom/nr_route.c | nr_node->routes[i].neighbour); |