Searched refs:pnhops (Results 1 – 1 of 1) sorted by relevance
516 struct weightened_nhop *pnhops; in append_nhops() local530 pnhops = (struct weightened_nhop *)&storage[0]; in append_nhops()532 pnhops = malloc(sz, M_TEMP, M_NOWAIT); in append_nhops()533 if (pnhops == NULL) { in append_nhops()540 memcpy(pnhops, src_priv->nhg_nh_weights, in append_nhops()548 free(pnhops, M_TEMP); in append_nhops()591 struct weightened_nhop *pnhops; in nhgrp_get_filtered_group() local601 pnhops = (struct weightened_nhop *)&storage[0]; in nhgrp_get_filtered_group()621 rnd->rnd_nhop = pnhops[0].nh; in nhgrp_get_filtered_group()622 rnd->rnd_weight = pnhops[0].weight; in nhgrp_get_filtered_group()[all …]