networkd-network.c revision a9bc6d2df16c1d9f8a99d2cc9be2babf62bd173f
e2417e4143bb892e4599b01de7b031763421bb64Daniel J Walsh/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
e2417e4143bb892e4599b01de7b031763421bb64Daniel J Walsh This file is part of systemd.
e2417e4143bb892e4599b01de7b031763421bb64Daniel J Walsh Copyright 2013 Tom Gundersen <teg@jklm.no>
e2417e4143bb892e4599b01de7b031763421bb64Daniel J Walsh systemd is free software; you can redistribute it and/or modify it
e2417e4143bb892e4599b01de7b031763421bb64Daniel J Walsh under the terms of the GNU Lesser General Public License as published by
e2417e4143bb892e4599b01de7b031763421bb64Daniel J Walsh the Free Software Foundation; either version 2.1 of the License, or
03e22642617f360a6b55cb853bcf59604754ea5dKay Sievers (at your option) any later version.
e2417e4143bb892e4599b01de7b031763421bb64Daniel J Walsh systemd is distributed in the hope that it will be useful, but
e2417e4143bb892e4599b01de7b031763421bb64Daniel J Walsh WITHOUT ANY WARRANTY; without even the implied warranty of
e2417e4143bb892e4599b01de7b031763421bb64Daniel J Walsh MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
e2417e4143bb892e4599b01de7b031763421bb64Daniel J Walsh Lesser General Public License for more details.
03e22642617f360a6b55cb853bcf59604754ea5dKay Sievers You should have received a copy of the GNU Lesser General Public License
e2417e4143bb892e4599b01de7b031763421bb64Daniel J Walsh along with systemd; If not, see <http://www.gnu.org/licenses/>.
ffc227c9568eb0a12dc750761d1e5d68ea125aadLennart Poetteringstatic int network_load_one(Manager *manager, const char *filename) {
cad45ba11ec3572296361f53f5852ffb97a97fa3Lennart Poettering network->addresses_by_section = hashmap_new(uint64_hash_func, uint64_compare_func);
return log_oom();
return log_oom();
return log_oom();
char **files, **f;
if (!network)
return -ENOENT;