Lines Matching refs:rrt_gw

151 	struct	in6_addr rrt_gw;	/* gateway */
555 delroute(&rrt->rrt_info, &rrt->rrt_gw);
589 delroute(&rrt->rrt_info, &rrt->rrt_gw);
898 !IN6_IS_ADDR_UNSPECIFIED(&rrt->rrt_gw) &&
900 if (nh == NULL || !IN6_ARE_ADDR_EQUAL(nh, &rrt->rrt_gw)) {
908 np->rip6_dest = rrt->rrt_gw;
912 nh = &rrt->rrt_gw;
916 !IN6_ARE_ADDR_EQUAL(nh, &rrt->rrt_gw) ||
1355 IN6_ARE_ADDR_EQUAL(&nh, &rrt->rrt_gw)) {
1362 delroute(nq, &rrt->rrt_gw);
1363 rrt->rrt_gw = nh;
1372 IN6_ARE_ADDR_EQUAL(&nh, &rrt->rrt_gw)) {
1381 IN6_ARE_ADDR_EQUAL(&nh, &rrt->rrt_gw)) {
1388 delroute(nq, &rrt->rrt_gw);
1389 rrt->rrt_gw = nh;
1412 rrt->rrt_gw = nh;
1682 delroute(&rrt->rrt_info, &rrt->rrt_gw);
1992 && IN6_IS_ADDR_LOOPBACK(&rrt->rrt_gw)) {
2031 if (!IN6_ARE_ADDR_EQUAL(&rrt->rrt_gw, gw)) {
2033 inet6_n2p(&rrt->rrt_gw));
2095 (IN6_ARE_ADDR_EQUAL(&rrt->rrt_gw, &none) ||
2096 IN6_IS_ADDR_LOOPBACK(&rrt->rrt_gw))) {
2122 IN6_ARE_ADDR_EQUAL(&rrt->rrt_gw,
2205 memset(&rrt->rrt_gw, 0, sizeof(struct in6_addr));
2206 rrt->rrt_gw = ifac->ifac_addr;
2224 &search_rrt->rrt_gw);
2232 addroute(rrt, &rrt->rrt_gw, ifcp);
2362 rrt->rrt_gw = in6addr_loopback;
2368 rrt->rrt_gw = ifac->ifac_addr;
2757 memset(&rrt->rrt_gw, 0, sizeof(struct in6_addr));
2760 rrt->rrt_gw = sin6_gw->sin6_addr;
2763 rrt->rrt_gw = in6addr_loopback;
2765 memset(&rrt->rrt_gw, 0, sizeof(struct in6_addr));
2769 trace(1, " gw %s", inet6_n2p(&rrt->rrt_gw));
2786 if (!IN6_IS_ADDR_LINKLOCAL(&rrt->rrt_gw) &&
2787 !IN6_IS_ADDR_LOOPBACK(&rrt->rrt_gw) &&
2790 inet6_n2p(&rrt->rrt_gw));
3138 inet6_n2p(&rrt->rrt_gw),
3250 rrt->rrt_gw = in6addr_loopback;