Home
last modified time | relevance | path

Searched refs:shorten_overlong (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/network/
Dtest-network.c243 r = shorten_overlong("name1", &shortened); in test_dhcp_hostname_shorten_overlong()
251 r = shorten_overlong("name1.example.com", &shortened); in test_dhcp_hostname_shorten_overlong()
259 …r = shorten_overlong("name1.test-dhcp-this-one-here-is-a-very-very-long-domain.example.com", &shor… in test_dhcp_hostname_shorten_overlong()
267 …r = shorten_overlong("test-dhcp-this-one-here-is-a-very-very-long-hostname-without-domainname", &s… in test_dhcp_hostname_shorten_overlong()
275 …r = shorten_overlong(".test-dhcp-this-one-here-is-a-very-very-long-hostname.example.com", &shorten… in test_dhcp_hostname_shorten_overlong()
Dnetworkd-dhcp6.c287 r = shorten_overlong(dhcpname, &hostname); in dhcp6_address_acquired()
Dnetworkd-dhcp4.c1021 r = shorten_overlong(dhcpname, &hostname); in dhcp_lease_acquired()
/systemd-251/src/shared/
Dhostname-setup.h19 int shorten_overlong(const char *s, char **ret);
Dhostname-setup.c43 int shorten_overlong(const char *s, char **ret) { in shorten_overlong() function