Lines Matching defs:nq
971 struct netinfo6 *np, *nq;
1156 nq = &rrt->rrt_info;
1157 if (nq->rip6_metric > np->rip6_metric) {
1161 nq->rip6_metric = np->rip6_metric;
1166 delroute(nq, &rrt->rrt_gw);
1168 *nq = *np;
1174 } else if (nq->rip6_metric < np->rip6_metric &&
1178 nq->rip6_metric = np->rip6_metric;
1182 } else if (nq->rip6_metric == np->rip6_metric &&
1192 delroute(nq, &rrt->rrt_gw);
1194 *nq = *np;
1201 * if nq->rip6_metric == HOPCNT_INFINITY6 then
1210 nq = &rrt->rrt_info;
1216 *nq = *np;
1217 applyplen(&nq->rip6_dest, nq->rip6_plen);
1218 if (nq->rip6_plen == sizeof(struct in6_addr) * 8)