Lines Matching defs:perror
712 finalize_nhop(struct nhop_object *nh, const struct sockaddr *dst, int *perror)
726 *perror = EINVAL;
744 *perror = EINVAL;
771 *perror = EINVAL;
778 return (nhop_get_nhop(nh, perror));
850 struct nl_pstate *npt, int *perror)
877 wn, num_nhops, perror);
881 nhg = nhgrp_get_nhgrp(nhg, perror);
887 error = *perror;
892 *perror = error;
896 *perror = ENOMEM;
900 *perror = nl_set_nexthop_gw(nh, attrs->rta_gw, attrs->rta_oif, npt);
901 if (*perror != 0) {
930 nh = finalize_nhop(nh, attrs->rta_dst, perror);