]> git.ipfire.org Git - thirdparty/systemd.git/commit
reslove: Refactor DNS Answer to support 'until' in DnsAnswerItem
authorVishal Chillara Srinivas <vishal.chillarasrinivas@philips.com>
Sun, 27 Apr 2025 16:39:35 +0000 (22:09 +0530)
committerVishal Chillara Srinivas <vishal.chillarasrinivas@philips.com>
Mon, 14 Jul 2025 09:20:03 +0000 (14:50 +0530)
commitf7d5177dd2d71c2bf1e12d6f7bb6313dcb6694fc
treee3c67b6d06928a3ea2d25dabcd44bf60706cc6a1
parent108bd5c2970322cc3af9677f4b1d1f9c6909d440
reslove: Refactor DNS Answer to support 'until' in DnsAnswerItem
Prepare for mDNS browse services to facilitate scheduled cache
maintenance queries when browsing for services.

Introduce dns_answer_add_full() and dns_answer_add_extend_full()
to explicitly handle the 'until' argument, enabling fine-grained control
over the time property of DNS answers.

Ensure backward compatibility while providing the flexibility to
specify 'until' for specific cases when needed

Co-authored-by: Vishwanath Chandapur <vishwanath.chandapur@philips.com>
src/resolve/resolved-dns-answer.c
src/resolve/resolved-dns-answer.h
src/resolve/resolved-dns-cache.c