Lines Matching defs:np2
254 check_replace(struct route_node *np2, struct rib *rib2,
261 *np = np2;
266 if (in_addr_cmp(&(*np)->p.u.prefix, &np2->p.u.prefix) < 0)
268 if (in_addr_cmp(&(*np)->p.u.prefix, &np2->p.u.prefix) > 0)
270 *np = np2;
282 *np = np2;
291 *np = np2;
302 struct route_node *np2;
386 for (np2 = route_top (table); np2; np2 = route_next (np2))
390 if (in_addr_cmp(&np2->p.u.prefix, (u_char *)&dest) > 0)
391 RNODE_FOREACH_RIB (np2, rib2)
392 check_replace(np2, rib2, np, rib);
394 if (in_addr_cmp(&np2->p.u.prefix, (u_char *)&dest) == 0)
396 RNODE_FOREACH_RIB (np2, rib2)
409 check_replace(np2, rib2, np, rib);