• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/ospf6d/

Lines Matching refs:route

252 	zlog_info ("ZEBRA: Receive add %s route: %s nexthop:%s ifindex:%ld",
256 zlog_info ("ZEBRA: Receive remove %s route: %s nexthop:%s ifindex:%ld",
358 struct ospf6_route_req route;
369 prefix2str (&request->route.prefix, buf, sizeof (buf));
371 zlog_info ("ZEBRA: Send remove route: %s", buf);
373 zlog_info ("ZEBRA: Send add route: %s", buf);
388 zlog_info ("ZEBRA: self originated external route, ignore");
394 ospf6_route_lookup (&route, &request->route.prefix, request->table);
395 if (memcmp (&route.path, &request->path, sizeof (route.path)))
397 /* this is not preferred best route, ignore */
406 for (ospf6_route_lookup (&route, &request->route.prefix, request->table);
407 ! ospf6_route_end (&route); ospf6_route_next (&route))
409 if (memcmp (&route.path, &request->path, sizeof (route.path)))
417 if (IN6_IS_ILLEGAL_NEXTHOP (&route.nexthop.address))
423 if (type == REMOVE && ! memcmp (&route.nexthop, &request->nexthop,
434 memcpy (nexthop, &route.nexthop, sizeof (struct ospf6_nexthop));
440 if (! ospf6_route_end (&route))
441 ospf6_route_next (&route);
442 if (! memcmp (&request->route, &route.route,
445 /* send 'add' of alternative route */
455 memcpy (&seconde_path, &route.path, sizeof (struct ospf6_path));
458 while (! memcmp (&seconde_path, &route.path,
467 memcpy (nexthop, &route.nexthop,
472 ospf6_route_next (&route);
477 /* there is no alternative route. send 'remove' to zebra for
478 requested route */
508 zlog_warn ("ZEBRA: Can't update zebra route: malloc failed");
521 zlog_warn ("ZEBRA: Can't update zebra route: malloc failed");
557 p = (struct prefix_ipv6 *) &request->route.prefix;
625 "OSPF6 route\n")
633 /* set zebra route table */
644 "OSPF6 route\n")
655 /* clean up zebra route table */
683 /* redistribute connected route by default */