Lines Matching defs:cur_addr_num
831 uint8_t loopscope, uint8_t ipv4_scope, int cur_addr_num)
849 if (cur_addr_num == num_eligible_addr) {
892 int cur_addr_num=0, num_prefered=0;
914 cur_addr_num = net->indx_of_eligible_next_to_use;
934 if (cur_addr_num >= num_prefered) {
935 cur_addr_num = 0;
937 /* select the nth address from the list (where cur_addr_num is the nth) and
942 printf("cur_addr_num:%d\n", cur_addr_num);
946 ipv4_scope, cur_addr_num);
1004 if (cur_addr_num >= num_prefered) {
1005 cur_addr_num = 0;
1008 ipv4_scope, cur_addr_num);
1554 uint8_t loc_scope, int cur_addr_num, int match_scope)
1590 if (num_eligible_addr == cur_addr_num) {
1641 int cur_addr_num=0;
1654 cur_addr_num = net->indx_of_eligible_next_to_use;
1656 if (cur_addr_num == 0) {
1676 if (cur_addr_num >= num_eligible_addr) {
1677 cur_addr_num = 0;
1679 /* select the nth address from the list (where cur_addr_num is the nth) and
1684 printf("cur_addr_num:%d match_scope_prefered:%d select it\n",
1685 cur_addr_num, match_scope_prefered);
1689 loc_scope, cur_addr_num, match_scope_prefered);
1698 loc_scope, cur_addr_num, 0);
1703 printf("Selected address %d ifn:%p for the route\n", cur_addr_num, ifn);
1708 if (cur_addr_num < 255)
1709 net->indx_of_eligible_next_to_use = cur_addr_num + 1;
1811 cur_addr_num, ifn);