]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-dhcp-lease: introduce dhcp_client_parse_message()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 31 Mar 2026 16:45:16 +0000 (01:45 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 15 May 2026 23:04:45 +0000 (08:04 +0900)
commit26b7c5ff3b944aa3a16d4e859e9c84ce7e968a5a
treebb1dc96f78ba5875c3a78896f6f9883b236f1a8a
parentf39c071f31bbdcba0baaebb967d86311534cb953
sd-dhcp-lease: introduce dhcp_client_parse_message()

It parses a received DHCP message and create corresponding sd_dhcp_lease
object for the message. Internally, it uses sd_dhcp_message object.

Note, the new parser is not used yet. The currently used one will be
replaced in later commit.
src/libsystemd-network/dhcp-lease-internal.h
src/libsystemd-network/sd-dhcp-lease.c