Searched refs:pnhops (Results 1 - 1 of 1) sorted by relevance

/freebsd-13-stable/sys/net/route/
H A Dnhgrp_ctl.c516 struct weightened_nhop *pnhops; local
530 pnhops = (struct weightened_nhop *)&storage[0];
532 pnhops = malloc(sz, M_TEMP, M_NOWAIT);
533 if (pnhops == NULL) {
540 memcpy(pnhops, src_priv->nhg_nh_weights,
542 memcpy(&pnhops[curr_nhops], wn, num_nhops * sizeof(struct weightened_nhop));
545 nhg_priv = get_nhgrp(ctl, pnhops, curr_nhops, perror);
547 if (pnhops != (struct weightened_nhop *)&storage[0])
548 free(pnhops, M_TEMP);
591 struct weightened_nhop *pnhops; local
[all...]

Completed in 98 milliseconds