<feed xmlns='http://www.w3.org/2005/Atom'>
<title>odhcpd/src/db.c, branch master</title>
<subtitle>OpenWrt DHCP Server</subtitle>
<id>https://git.openwrt.org/project/odhcpd/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/project/odhcpd/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/odhcpd/'/>
<updated>2026-11-25T10:39:31Z</updated>
<entry>
<title>config: link host sections to registered clients</title>
<updated>2026-11-25T10:39:31Z</updated>
<author>
<name>David Härdeman</name>
</author>
<published>2026-11-20T21:17:45Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/odhcpd/commit/?id=1aaca14754f92f0a542da5a6c7f48c01a16e38c6'/>
<id>urn:sha1:1aaca14754f92f0a542da5a6c7f48c01a16e38c6</id>
<content type='text'>
Link each DUID record to its host section (matched by DUID, or by the
MAC address in the DUID), as is done for DHCPv6 leases, and update the
links when host sections change. Registered addresses of hosts which
become ignored for DHCPv6 are dropped.

Signed-off-by: David Härdeman &lt;david@hardeman.nu&gt;
Link: https://github.com/openwrt/odhcpd/pull/448
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>db: add per-interface address and DUID databases</title>
<updated>2026-11-25T10:39:31Z</updated>
<author>
<name>David Härdeman</name>
</author>
<published>2026-11-20T21:00:09Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/odhcpd/commit/?id=21722063d35ec237147ea6afe33d29587cf93c7c'/>
<id>urn:sha1:21722063d35ec237147ea6afe33d29587cf93c7c</id>
<content type='text'>
Add two per-interface AVL trees: iface-&gt;addr6_db for the IPv6 addresses
in use by clients, keyed by the full address, and iface-&gt;duid_db for the
DUIDs in use by clients, reference counted. Each address points to its
DUID record.

They're not tied to a protocol; RFC 9686 address registrations are the
first user.

Signed-off-by: David Härdeman &lt;david@hardeman.nu&gt;
Link: https://github.com/openwrt/odhcpd/pull/448
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
</feed>
