Searched refs:idx_new (Results 1 – 1 of 1) sorted by relevance
/freebsd/sys/net/route/ |
H A D | route_helpers.c | 300 uint32_t idx_old = 0, idx_new = 0; in decompose_change_notification() local 341 while ((idx_old < num_old) && (idx_new < num_new)) { in decompose_change_notification() 343 uint32_t nh_idx_new = wn_new[idx_new].nh->nh_priv->nh_idx; in decompose_change_notification() 346 if (wn_old[idx_old].weight != wn_new[idx_new].weight) { in decompose_change_notification() 349 notify_add(&rc_add, &wn_new[idx_new], cb, cbdata); in decompose_change_notification() 352 idx_new++; in decompose_change_notification() 359 notify_add(&rc_add, &wn_new[idx_new], cb, cbdata); in decompose_change_notification() 360 idx_new++; in decompose_change_notification() 369 while (idx_new < num_new) { in decompose_change_notification() 370 notify_add(&rc_add, &wn_new[idx_new], cb, cbdata); in decompose_change_notification() [all …]
|