/systemd/src/test/ |
H A D | test-netlink-manual.c | 67 struct in_addr local, remote; local 88 inet_pton(AF_INET, "192.168.21.1", &local.s_addr); 89 assert_se(sd_netlink_message_append_u32(m, IFLA_IPTUN_LOCAL, local.s_addr) >= 0); 118 inet_pton(AF_INET, "192.168.21.3", &local.s_addr); 119 assert_se(sd_netlink_message_append_u32(n, IFLA_IPTUN_LOCAL, local.s_addr) >= 0);
|
/systemd/src/network/ |
H A D | networkd-netdev-tunnel.h | 52 union in_addr_union local; member in struct:Tunnel
|
H A D | networkctl.c | 35 #include "local-addresses.h" 404 _cleanup_free_ struct local_address *local = NULL; local 407 n = local_gateways(rtnl, ifindex, AF_UNSPEC, &local); 414 r = in_addr_to_string(local[i].family, &local[i].address, &gateway); 418 r = get_gateway_description(rtnl, hwdb, local[i].ifindex, local[i].family, &local[i].address, &description); 435 if (if_indextoname(local[i].ifindex, name)) { 439 printf(" on %%%i", local[ 453 _cleanup_free_ struct local_address *local = NULL; local [all...] |
/systemd/src/resolve/ |
H A D | resolved-dns-stream.h | 37 union sockaddr_union local; member in struct:DnsStream
|
/systemd/src/import/ |
H A D | export.c | 78 const char *path = NULL, *local = NULL; local 91 local = image->path; 93 local = argv[1]; 109 log_info("Exporting '%s', saving to '%s' with compression '%s'.", local, path, import_compress_type_to_string(arg_compress)); 116 log_info("Exporting '%s', saving to '%s' with compression '%s'.", local, strna(pretty), import_compress_type_to_string(arg_compress)); 131 r = tar_export_start(export, local, fd, arg_compress); 157 const char *path = NULL, *local = NULL; local 170 local = image->path; 172 local = argv[1]; 188 log_info("Exporting '%s', saving to '%s' with compression '%s'.", local, pat [all...] |
H A D | import.c | 59 const char *path = NULL, *local = NULL; local 70 local = argv[2]; 72 local = basename(path); 73 if (isempty(local) || streq(local, "-")) 74 local = NULL; 76 if (local) { 77 r = tar_strip_suffixes(local, &ll); 81 local = ll; 83 if (!machine_name_is_valid(local)) { 154 const char *path = NULL, *local = NULL; local [all...] |
H A D | pull.c | 60 const char *url, *local; local 71 local = argv[2]; 77 local = l; 80 if (isempty(local) || streq(local, "-")) 81 local = NULL; 83 if (local) { 84 r = tar_strip_suffixes(local, &ll); 88 local = ll; 90 if (!machine_name_is_valid(local)) { 146 const char *url, *local; local [all...] |
H A D | import-raw.c | 54 char *local; member in struct:RawImport 102 free(i->local); 272 i->final_path = strjoin(i->image_root, "/", i->local, ".raw", NULL); 427 int raw_import_start(RawImport *i, int fd, const char *local, bool force_local, bool read_only) { argument 432 assert(local); 434 if (!machine_name_is_valid(local)) 444 r = free_and_strdup(&i->local, local);
|
H A D | import-tar.c | 54 char *local; member in struct:TarImport 109 free(i->local); 227 i->final_path = strjoin(i->image_root, "/", i->local, NULL); 348 int tar_import_start(TarImport *i, int fd, const char *local, bool force_local, bool read_only) { argument 353 assert(local); 355 if (!machine_name_is_valid(local)) 365 r = free_and_strdup(&i->local, local);
|
H A D | pull-common.c | 132 int pull_make_local_copy(const char *final, const char *image_root, const char *local, bool force_local) { argument 137 assert(local); 142 p = strjoina(image_root, "/", local); 153 return log_error_errno(r, "Failed to create local image: %m"); 155 log_info("Created new local image '%s'.", local);
|
H A D | pull-raw.c | 73 char *local; member in struct:RawPull 112 free(i->local); 276 if (!i->local) 302 p = strjoina(i->image_root, "/", i->local, ".raw"); 341 log_info("Created new local image '%s'.", i->local); 353 local_settings = strjoina(i->image_root, "/", i->local, ".nspawn"); 361 log_info("Created new settings file '%s.nspawn'", i->local); 561 const char *local, 575 if (local 558 raw_pull_start( RawPull *i, const char *url, const char *local, bool force_local, ImportVerify verify, bool settings) argument [all...] |
H A D | pull-tar.c | 70 char *local; member in struct:TarPull 116 free(i->local); 226 if (!i->local) 235 r = pull_make_local_copy(i->final_path, i->image_root, i->local, i->force_local); 249 local_settings = strjoina(i->image_root, "/", i->local, ".nspawn"); 257 log_info("Created new settings file '%s.nspawn'", i->local); 471 const char *local, 485 if (local && !machine_name_is_valid(local)) 491 r = free_and_strdup(&i->local, loca 468 tar_pull_start( TarPull *i, const char *url, const char *local, bool force_local, ImportVerify verify, bool settings) argument [all...] |
H A D | importd.c | 70 char *local; member in struct:Transfer 131 free(t->local); 389 NULL, /* local */ 492 if (t->local) 493 cmd[k++] = t->local; 717 const char *local, *object; local 739 r = sd_bus_message_read(msg, "hsbb", &fd, &local, &force, &read_only); 743 if (!machine_name_is_valid(local)) 744 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Local name %s is invalid", local); 760 t->local 782 const char *local, *object, *format; local 846 const char *remote, *local, *verify, *object; local [all...] |
/systemd/src/shared/ |
H A D | machine-image.c | 55 "/usr/local/lib/machines\0" 705 int image_path_lock(const char *path, int operation, LockFile *global, LockFile *local) { argument 713 assert(local); 716 * "local" one, next to the image path itself, which might be 746 *local = t;
|
/systemd/src/activate/ |
H A D | activate.c | 299 _cleanup_free_ char *local = NULL, *peer = NULL; local 306 getsockname_pretty(fd_accepted, &local); 308 log_info("Connection from %s to %s", strna(peer), strna(local));
|
/systemd/src/core/ |
H A D | socket.c | 689 union sockaddr_union local, remote; local 694 l = sizeof(local); 695 if (getsockname(fd, &local.sa, &l) < 0) 702 switch (local.sa.sa_family) { 706 a = ntohl(local.in.sin_addr.s_addr), 713 ntohs(local.in.sin_port), 726 if (memcmp(&local.in6.sin6_addr, ipv4_prefix, sizeof(ipv4_prefix)) == 0 && 729 *a = local.in6.sin6_addr.s6_addr+12, 736 ntohs(local.in6.sin6_port), 746 inet_ntop(AF_INET6, &local [all...] |
/systemd/src/machine/ |
H A D | machinectl.c | 1187 log_info("Connected to the local host. Press ^] three times within 1s to exit session."); 1216 log_info("Connection to the local host terminated."); 1243 log_error("Login only supported on local machines."); 1305 log_error("Shell only supported on local machines."); 1793 const char *local = NULL, *path = NULL; local 1805 local = argv[2]; 1807 local = basename(path); 1808 if (isempty(local) || streq(local, "-")) 1809 local 1860 const char *local = NULL, *path = NULL; local 1941 const char *local = NULL, *path = NULL; local 1991 const char *local = NULL, *path = NULL; local 2041 const char *local, *remote; local 2105 const char *local, *remote; local 2170 const char *local; member in struct:TransferInfo 2186 const char *type, *remote, *local, *object; local [all...] |