Lines Matching refs:gateway
122 union in_addr_union *dest, union in_addr_union *gateway, Route **ret) { in route_new() argument
135 .gateway = *gateway, in route_new()
402 union in_addr_union *dest, union in_addr_union *gateway) { in network_set_route() argument
406 if (!in_addr_is_set(family, gateway)) in network_set_route()
416 return route_new(network, family, prefixlen, dest, gateway, NULL); in network_set_route()
592 union in_addr_union addr = {}, peer = {}, gateway = {}; in parse_cmdline_ip_address() local
606 r = parse_ip_address_one(family, &value, &gateway); in parse_cmdline_ip_address()
655 r = network_set_route(context, ifname, family, 0, NULL, &gateway); in parse_cmdline_ip_address()
739 union in_addr_union addr = {}, gateway = {}; in parse_cmdline_rd_route() local
778 r = parse_ip_address_one(family, &value, &gateway); in parse_cmdline_rd_route()
782 return network_set_route(context, value, family, prefixlen, &addr, &gateway); in parse_cmdline_rd_route()
1063 … r = route_new(network, route->family, route->prefixlen, &route->dest, &route->gateway, NULL); in context_merge_networks()
1109 _cleanup_free_ char *dest = NULL, *gateway = NULL; in route_dump() local
1118 r = in_addr_to_string(route->family, &route->gateway, &gateway); in route_dump()
1125 fprintf(f, "Gateway=%s\n", gateway); in route_dump()