Lines Matching refs:gateway
298 struct in6_addr gateway; in ndisc_router_process_default() local
325 r = sd_ndisc_router_get_address(rt, &gateway); in ndisc_router_process_default()
329 if (link_get_ipv6_address(link, &gateway, 0, NULL) >= 0) { in ndisc_router_process_default()
333 (void) in6_addr_to_string(&gateway, &buffer); in ndisc_router_process_default()
360 route->gw.in6 = gateway; in ndisc_router_process_default()
383 route->gw.in6 = gateway; in ndisc_router_process_default()
594 struct in6_addr gateway, dst; in ndisc_router_process_route() local
637 r = sd_ndisc_router_get_address(rt, &gateway); in ndisc_router_process_route()
641 if (link_get_ipv6_address(link, &gateway, 0, NULL) >= 0) { in ndisc_router_process_route()
645 (void) in6_addr_to_string(&gateway, &buf); in ndisc_router_process_route()
665 route->gw.in6 = gateway; in ndisc_router_process_route()