/systemd/src/network/ |
H A D | networkd-network.c | 29 #include "network-internal.h" 30 #include "networkd-network.h" 40 _cleanup_network_free_ Network *network = NULL; local 63 network = new0(Network, 1); 64 if (!network) 67 network->manager = manager; 69 LIST_HEAD_INIT(network->static_addresses); 70 LIST_HEAD_INIT(network->static_routes); 71 LIST_HEAD_INIT(network->static_fdb_entries); 73 network 185 Network *network; local 208 network_free(Network *network) argument 286 Network *network; local 304 Network *network; local 357 network_apply(Manager *manager, Network *network, Link *link) argument 407 Network *network = userdata; local 566 Network *network = userdata; local [all...] |
H A D | networkd-network-bus.c | 72 static char *network_bus_path(Network *network) { argument 77 assert(network); 78 assert(network->filename); 80 name = strdup(network->filename); 90 assert(streq(d, ".network")); 94 r = sd_bus_path_encode("/org/freedesktop/network1/network", networkname, &path); 104 Network *network; local 112 LIST_FOREACH(networks, network, m->networks) { 115 p = network_bus_path(network); 132 Network *network; local [all...] |
H A D | networkd-fdb.c | 31 int fdb_entry_new_static(Network *const network, argument 37 assert(network); 41 fdb_entry = hashmap_get(network->fdb_entries_by_section, UINT_TO_PTR(section)); 65 fdb_entry->network = network; 68 LIST_PREPEND(static_fdb_entries, network->static_fdb_entries, fdb_entry); 72 hashmap_put(network->fdb_entries_by_section, 147 if(fdb_entry->network) { 148 LIST_REMOVE(static_fdb_entries, fdb_entry->network->static_fdb_entries, 152 hashmap_remove(fdb_entry->network 174 Network *network = userdata; local 220 Network *network = userdata; local [all...] |
H A D | networkd-fdb.h | 24 #include "networkd-network.h" 28 Network *network; member in struct:FdbEntry 37 int fdb_entry_new_static(Network *const network, const unsigned section, FdbEntry **ret);
|
H A D | networkd-link.c | 30 #include "network-internal.h" 45 if (!link->network) 48 return link->network->dhcp & ADDRESS_FAMILY_IPV6; 55 if (!link->network) 58 return link->network->dhcp & ADDRESS_FAMILY_IPV4; 65 if (!link->network) 68 return link->network->dhcp_server; 75 if (!link->network) 78 return link->network->link_local & ADDRESS_FAMILY_IPV4; 85 if (!link->network) 2144 Network *network; local 2263 Network *network; local [all...] |
H A D | networkd-dhcp4.c | 26 #include "network-internal.h" 93 route_gw->priority = link->network->dhcp_route_metric; 104 route->priority = link->network->dhcp_route_metric; 134 route->priority = link->network->dhcp_route_metric; 159 if (link->network->dhcp_use_routes) { 224 if (link->network->dhcp_use_mtu) { 239 if (link->network->dhcp_use_hostname) { 242 if (link->network->dhcp_hostname) 243 hostname = link->network->dhcp_hostname; 324 assert(link->network); [all...] |
H A D | networkd-address.h | 30 #include "networkd-network.h" 36 Network *network; member in struct:Address 58 int address_new_static(Network *network, unsigned section, Address **ret);
|
H A D | networkd-route.c | 50 int route_new_static(Network *network, unsigned section, Route **ret) { argument 55 route = hashmap_get(network->routes_by_section, 70 route->network = network; 72 LIST_PREPEND(routes, network->static_routes, route); 76 hashmap_put(network->routes_by_section, 90 if (route->network) { 91 LIST_REMOVE(routes, route->network->static_routes, route); 94 hashmap_remove(route->network->routes_by_section, 550 Network *network local 595 Network *network = userdata; local 635 Network *network = userdata; local 715 Network *network = userdata; local 750 Network *network = userdata; local [all...] |
H A D | networkd-route.h | 24 #include "networkd-network.h" 28 Network *network; member in struct:Route 55 int route_new_static(Network *network, unsigned section, Route **ret);
|
H A D | networkd-address.c | 52 int address_new_static(Network *network, unsigned section, Address **ret) { argument 57 address = hashmap_get(network->addresses_by_section, UINT_TO_PTR(section)); 70 address->network = network; 72 LIST_APPEND(addresses, network->static_addresses, address); 76 hashmap_put(network->addresses_by_section, 90 if (address->network) { 91 LIST_REMOVE(addresses, address->network->static_addresses, address); 94 hashmap_remove(address->network->addresses_by_section, 210 masq = link->network 613 Network *network = userdata; local 655 Network *network = userdata; local 740 Network *network = userdata; local [all...] |
H A D | networkd-ndisc.c | 60 assert(link->network); 75 if (in_addr_is_null(AF_INET6, (const union in_addr_union *) &link->network->ipv6_token) == 0) 76 memcpy(((char *)&address->in_addr.in6) + 8, ((char *)&link->network->ipv6_token) + 8, 8); 149 assert(link->network);
|
H A D | networkd-manager.c | 47 "/etc/systemd/network", 48 "/run/systemd/network", 49 "/usr/lib/systemd/network", 51 "/lib/systemd/network", 179 r = sd_bus_add_fallback_vtable(m->bus, NULL, "/org/freedesktop/network1/network", "org.freedesktop.network1.Network", network_vtable, network_object_find, m); 181 return log_error_errno(r, "Failed to add network object vtable: %m"); 183 r = sd_bus_add_node_enumerator(m->bus, NULL, "/org/freedesktop/network1/network", network_node_enumerator, m); 185 return log_error_errno(r, "Failed to add network enumerator: %m"); 866 if (!link->network) 870 r = ordered_set_put_strdupv(dns, link->network 1047 Network *network; local [all...] |
H A D | networkd-ipv4ll.c | 23 #include "network-internal.h" 173 assert(link->network); 206 assert(link->network); 207 assert(link->network->link_local & ADDRESS_FAMILY_IPV4);
|
H A D | test-network.c | 22 #include "network-internal.h" 133 Network *network; local 136 /* let's assume that the test machine does not have a .network file 138 assert_se(network_get(manager, loopback, "lo", &mac, &network) == -ENOENT); 139 assert_se(!network);
|
H A D | networkd-network.h | 160 void network_free(Network *network); 169 int network_apply(Manager *manager, Network *network, Link *link);
|
H A D | networkd-dhcp6.c | 25 #include "network-internal.h" 122 assert(link->network);
|
H A D | networkd-link.h | 58 #include "networkd-network.h" 77 Network *network; member in struct:Link
|
H A D | networkctl.c | 27 #include "sd-network.h" 511 _cleanup_free_ char *t = NULL, *network = NULL; local 603 sd_network_link_get_network_file(ifindex, &network); 615 strna(network),
|
/systemd/src/libsystemd/sd-bus/ |
H A D | bus-dump.c | 525 uint32_t network; /* data link type */ member in struct:pcap_hdr_s 543 .network = 231, /* D-Bus */
|
/systemd/src/udev/ |
H A D | udev-event.c | 817 log_debug("renamed network interface '%s' to '%s'", oldname, name); 861 /* rename a new network interface, if needed */
|