Lines Matching refs:rap
1898 make_route(const struct interface *ifp, const struct ra *rap) in make_route() argument
1911 if (rap) in make_route()
1912 r->mtu = rap->mtu; in make_route()
1919 make_prefix(const struct interface *ifp, const struct ra *rap, in make_prefix() argument
1940 r = make_route(ifp, rap); in make_prefix()
1954 make_router(const struct ra *rap) in make_router() argument
1958 r = make_route(rap->iface, rap); in make_router()
1963 r->gate = rap->from; in make_router()
1975 struct ra *rap; in ipv6_build_ra_routes() local
1978 TAILQ_FOREACH(rap, ctx->ra_routers, next) { in ipv6_build_ra_routes()
1979 if (rap->expired != expired) in ipv6_build_ra_routes()
1981 if (rap->iface->options->options & DHCPCD_IPV6RA_OWN) { in ipv6_build_ra_routes()
1982 TAILQ_FOREACH(addr, &rap->addrs, next) { in ipv6_build_ra_routes()
1983 rt = make_prefix(rap->iface, rap, addr); in ipv6_build_ra_routes()
1988 if (rap->lifetime && rap->iface->options->options & in ipv6_build_ra_routes()
1990 !rap->no_public_warned) in ipv6_build_ra_routes()
1992 rt = make_router(rap); in ipv6_build_ra_routes()