Searched refs:pnhops (Results 1 – 1 of 1) sorted by relevance
/freebsd/sys/net/route/ |
H A D | nhgrp_ctl.c | 596 struct weightened_nhop *pnhops; in append_nhops() local 610 pnhops = (struct weightened_nhop *)&storage[0]; in append_nhops() 612 pnhops = malloc(sz, M_TEMP, M_NOWAIT); in append_nhops() 613 if (pnhops == NULL) { in append_nhops() 620 memcpy(pnhops, src_priv->nhg_nh_weights, in append_nhops() 622 memcpy(&pnhops[curr_nhops], wn, num_nhops * sizeof(struct weightened_nhop)); in append_nhops() 625 nhg_priv = get_nhgrp(ctl, pnhops, curr_nhops, 0, perror); in append_nhops() 627 if (pnhops != (struct weightened_nhop *)&storage[0]) in append_nhops() 628 free(pnhops, M_TEMP); in append_nhops() 671 struct weightened_nhop *pnhops; in nhgrp_get_filtered_group() local [all …]
|