Lines Matching refs:gw
1177 /* Got worse route from same gw */
1186 /* same metric, same route from same gw */
1603 trace(1, "\tsome of dst/gw/netamsk are "
1613 trace(1, "\tsome of dst/gw/netamsk are "
1685 const struct in6_addr *gw = NULL;
1705 gw = &sgw->sin6_addr;
1734 gw = &in6addr_loopback;
1737 trace(1, "\tunsupported af: (gw=%d)\n", sgw->sin6_family);
1742 trace(1, "gw %s\n", inet6_n2p(gw));
1760 if (!IN6_ARE_ADDR_EQUAL(&rrt->rrt_gw, gw)) {
1763 trace(1, "%s\n", inet6_n2p(gw));
2512 trace(1, " gw %s", inet6_n2p(&rrt->rrt_gw));
2554 addroute(struct riprt *rrt, const struct in6_addr *gw, struct ifc *ifcp)
2563 inet_ntop(AF_INET6, (const void *)gw, (char *)buf1, sizeof(buf1));
2565 tracet(1, "ADD: %s/%d gw %s [%d] ifa %s\n",
2569 fprintf(rtlog, "%s: ADD: %s/%d gw %s [%d] ifa %s\n", hms(),
2594 sin6->sin6_addr = *gw;
2608 trace(0, "ADD: Route already exists %s/%d gw %s\n",
2611 fprintf(rtlog, "ADD: Route already exists %s/%d gw %s\n",
2624 delroute(struct netinfo6 *np, struct in6_addr *gw)
2631 inet_ntop(AF_INET6, (void *)gw, (char *)buf2, sizeof(buf2));
2632 tracet(1, "DEL: %s/%d gw %s\n", inet6_n2p(&np->rip6_dest),
2635 fprintf(rtlog, "%s: DEL: %s/%d gw %s\n",
2659 sin6->sin6_addr = *gw;
2673 trace(0, "RTDEL: Route does not exist: %s/%d gw %s\n",
2676 fprintf(rtlog, "RTDEL: Route does not exist: %s/%d gw %s\n",
2819 fprintf(dump, " %s/%d if(%d:%s) gw(%s) [%d] age(%ld)",
2854 struct in6_addr gw;
2932 if (getroute(&rrt->rrt_info, &gw)) {
2938 delroute(&rrt->rrt_info, &gw);