Searched refs:pnhops (Results 1 – 1 of 1) sorted by relevance
| /freebsd/sys/net/route/ |
| H A D | nhgrp_ctl.c | 622 struct weightened_nhop *pnhops; in append_nhops() local 636 pnhops = (struct weightened_nhop *)&storage[0]; in append_nhops() 638 pnhops = malloc(sz, M_TEMP, M_NOWAIT); in append_nhops() 639 if (pnhops == NULL) { in append_nhops() 646 memcpy(pnhops, src_priv->nhg_nh_weights, in append_nhops() 648 memcpy(&pnhops[curr_nhops], wn, num_nhops * sizeof(struct weightened_nhop)); in append_nhops() 651 nhg_priv = get_nhgrp(ctl, pnhops, curr_nhops, 0, perror); in append_nhops() 653 if (pnhops != (struct weightened_nhop *)&storage[0]) in append_nhops() 654 free(pnhops, M_TEMP); in append_nhops() 676 struct weightened_nhop *pnhops; in merge_nhgrps() local [all …]
|