Systemd/src/systemd
Lennart Poettering 2a71d57f4e network: clean-up DHCP lease server data configuration
This is an attempt to clean up the POP3/SMTP/LPR/… DHCP lease server
data logic in networkd. This reduces code duplication and fixes a number
of bugs.

This removes any support for collecting POP3/SMPT/LPR servers acquired
via local DHCP client releases since noone uses that, and given how old
these protocols are I doubt this will change. It keeps support for
configuring them for the dhcp server however.

The differences between the DNS/NTP/SIP/POP3/SMTP/LPR configuration
logics are minimized.

This removes the relevant symbols from sd-network.h (which is an
internal API only at this point after all).

This is unfortunately not well test, given the old code for this had
barely any tests. But the new code should not perform worse at least,
and allow us to release, since it corrects some interfaces visible in
the .network configuration format.

Fixes: #15943
2020-06-18 13:08:18 +09:00
..
_sd-common.h journal: properly mark two definitions that are deprecated with GCC attributes for that 2020-01-31 15:02:00 +01:00
meson.build sd-dhcp6: Introduce vendor specific information 2020-05-29 13:36:42 +02:00
sd-bus-protocol.h tree-wide: drop empty lines in the begining of comments 2018-06-29 10:50:23 +09:00
sd-bus-vtable.h sd-bus: introduce new SD_BUS_VTABLE_ABSOLUTE_OFFSET vtable flag 2020-05-13 16:57:44 +02:00
sd-bus.h sd-bus: make name validation functions public 2020-05-25 11:09:21 +02:00
sd-daemon.h Introduce sd_notify_barrier 2020-05-01 03:22:47 +05:30
sd-device.h sd-device: drop priority and description from sd_device_monitor_attach_event() and sd_device_monitor_start() 2018-11-10 22:53:00 +09:00
sd-dhcp-client.h sd-dhcp-client: add sd_dhcp_client_id_to_string() 2020-06-04 11:16:15 +02:00
sd-dhcp-lease.h sd-dhcp: clean-up of DHCP lease server code 2020-05-30 14:18:43 +02:00
sd-dhcp-option.h dhcp: remove struct sd_dhcp_raw_option 2019-11-18 23:37:22 +09:00
sd-dhcp-server.h network: clean-up DHCP lease server data configuration 2020-06-18 13:08:18 +09:00
sd-dhcp6-client.h network: DHCP6 - introduce DHCP6 DUID to string 2020-06-10 19:17:28 +02:00
sd-dhcp6-lease.h sd-dhcp6: constify output arguments in get_{ntp,nds}_addr 2020-05-26 09:47:45 +02:00
sd-dhcp6-option.h sd-dhcp6: Introduce vendor specific information 2020-05-29 13:36:42 +02:00
sd-event.h sd-event: add pidfd support 2019-12-04 10:34:41 +01:00
sd-hwdb.h tree-wide: drop copyright headers from frequent contributors 2018-06-20 11:58:53 +02:00
sd-id128.h tree-wide: drop duplicated blank lines 2019-07-15 18:41:27 +02:00
sd-ipv4acd.h ipv4ll: do not reset conflict counter on restart 2019-12-11 13:26:31 +09:00
sd-ipv4ll.h tree-wide: use proper unicode © instead of (C) where we can 2018-06-14 10:20:20 +02:00
sd-journal.h headers: get rid of pointless /* deprecated */ comment 2020-04-17 16:15:30 +02:00
sd-lldp.h sd-lldp: Add support to receive MUD 2020-04-07 17:17:29 +02:00
sd-login.h sd-login: get rid of seat_can_multi_session() 2020-04-17 16:15:30 +02:00
sd-messages.h core: improve log messages when we cannot process a mount point 2020-05-26 09:17:48 +02:00
sd-ndisc.h tree-wide: fix spelling errors 2020-04-21 23:21:08 +02:00
sd-netlink.h sd-netlink: introduce sd_netlink_message_append_s8() and friends 2020-03-02 15:59:32 +09:00
sd-network.h network: clean-up DHCP lease server data configuration 2020-06-18 13:08:18 +09:00
sd-path.h sd-path: drop "-dir" and "-path" suffixes from path enums 2020-05-28 23:54:35 +02:00
sd-radv.h network: radv introduce sd_radv_prefix_get_prefix 2020-03-01 00:16:51 +09:00
sd-resolve.h tree-wide: add whitespace between type and variable name 2018-12-04 09:29:54 +01:00
sd-utf8.h tree-wide: drop empty lines in the begining of comments 2018-06-29 10:50:23 +09:00