Home
last modified time | relevance | path

Searched refs:hostname_source (Results 1 – 2 of 2) sorted by relevance

/systemd-251/src/hostname/
Dhostnamed.c70 HostnameSource hostname_source; member
474 if (c->hostname_source != hns) { in context_update_kernel_hostname()
475 c->hostname_source = hns; in context_update_kernel_hostname()
698 if (c->hostname_source >= 0) in context_determine_hostname_source()
704 c->hostname_source = HOSTNAME_STATIC; in context_determine_hostname_source()
718 c->hostname_source = HOSTNAME_DEFAULT; in context_determine_hostname_source()
720 c->hostname_source = HOSTNAME_TRANSIENT; in context_determine_hostname_source()
739 return sd_bus_message_append(reply, "s", hostname_source_to_string(c->hostname_source)); in property_get_hostname_source()
1230 …SON_BUILD_PAIR("HostnameSource", JSON_BUILD_STRING(hostname_source_to_string(c->hostname_source))), in method_describe()
1381 .hostname_source = _HOSTNAME_INVALID, /* appropriate value will be set later */ in run()
/systemd-251/src/shared/
Dhostname-setup.c222 DEFINE_STRING_TABLE_LOOKUP(hostname_source, HostnameSource);