Home
last modified time | relevance | path

Searched refs:wn_new (Results 1 – 2 of 2) sorted by relevance

/f-stack/freebsd/net/route/
H A Droute_helpers.c230 struct weightened_nhop *wn_old, *wn_new; in decompose_change_notification() local
250 wn_new = &tmp; in decompose_change_notification()
268 nh_idx_new = wn_new[idx_new].nh->nh_priv->nh_idx; in decompose_change_notification()
277 rc_add.rc_nh_new = wn_new[idx_new].nh; in decompose_change_notification()
278 rc_add.rc_nh_weight = wn_new[idx_new].weight; in decompose_change_notification()
292 rc_add.rc_nh_new = wn_new[idx_new].nh; in decompose_change_notification()
293 rc_add.rc_nh_weight = wn_new[idx_new].weight; in decompose_change_notification()
313 rc_add.rc_nh_new = wn_new[idx_new].nh; in decompose_change_notification()
314 rc_add.rc_nh_weight = wn_new[idx_new].weight; in decompose_change_notification()
334 rc_add.rc_nh_new = wn_new[idx_new].nh; in decompose_change_notification()
[all …]
H A Droute_ctl.c974 struct weightened_nhop *wn = NULL, *wn_new; in change_mpath_route() local
993 wn_new = mallocarray(num_nhops, sizeof(struct weightened_nhop), in change_mpath_route()
995 if (wn_new == NULL) { in change_mpath_route()
1000 memcpy(wn_new, wn, num_nhops * sizeof(struct weightened_nhop)); in change_mpath_route()
1009 error = nhgrp_get_group(rnh, wn_new, num_nhops, &rnd_new); in change_mpath_route()
1011 free(wn_new, M_TEMP); in change_mpath_route()