diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-10-28 14:55:40 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2021-02-09 17:52:30 +0100 |
commit | 81b4d94df52013618972ceec60eaf8c4fbf4da5e (patch) | |
tree | 76cb8beedaba30ed3ed0e9ea05502900982a5195 /src/resolve/resolved-dns-packet.h | |
parent | resolved: add logic for patching OPT max udp size of existing packet (diff) | |
download | systemd-81b4d94df52013618972ceec60eaf8c4fbf4da5e.tar.xz systemd-81b4d94df52013618972ceec60eaf8c4fbf4da5e.zip |
resolved: add logic for patching TTLs of full packets
Diffstat (limited to 'src/resolve/resolved-dns-packet.h')
-rw-r--r-- | src/resolve/resolved-dns-packet.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/resolve/resolved-dns-packet.h b/src/resolve/resolved-dns-packet.h index 4822aabf9f..38b14b92f5 100644 --- a/src/resolve/resolved-dns-packet.h +++ b/src/resolve/resolved-dns-packet.h @@ -206,6 +206,7 @@ int dns_packet_append_question(DnsPacket *p, DnsQuestion *q); int dns_packet_append_answer(DnsPacket *p, DnsAnswer *a); int dns_packet_patch_max_udp_size(DnsPacket *p, uint16_t max_udp_size); +int dns_packet_patch_ttls(DnsPacket *p, usec_t timestamp); void dns_packet_truncate(DnsPacket *p, size_t sz); int dns_packet_truncate_opt(DnsPacket *p); |