ldns(3)
π ldns β the update-counter girlies π
okay bestie, welcome to ldns(3) β the Library Functions Manual section 3 page for the update packet counters. this is a lil family of functions that all live in the same brain cell, and they're here to hand you numbers from an update packet. let's go π¦
β¨ NAME β¨
ldns_update_zocount, ldns_update_prcount, ldns_update_upcount, ldns_update_adcount β return update packet counters
like. that's literally the whole job. counters. from update packets. slay π
β¨ SYNOPSIS β¨
#include <stdint.h>
#include <stdbool.h>
#include <ldns/ldns.h>
uint16_t ldns_update_zocount(const ldns_pkt *p);
uint16_t ldns_update_prcount(const ldns_pkt *p);
uint16_t ldns_update_upcount(const ldns_pkt *p);
ldns_update_adcount();
okay so three of them take a packet and give you back a uint16_t, and then ldns_update_adcount() justβ¦ shows up with no arguments at all. not me noticing that. π anyway, that's exactly how it's written up there, no cap.
β¨ DESCRIPTION β¨
ldns_update_zocount() β Get the zo count
p: the packet- Returns the zo count
ldns_update_prcount() β Get the zo count
p: the packet- Returns the pr count
ldns_update_upcount() β Get the zo count
p: the packet- Returns the up count
ldns_update_adcount()
(that's it. that's the whole description. she's mysterious. she's iconic. π)
real talk bestie β yes, the one-liners forldns_update_prcount()andldns_update_upcount()also say "Get the zo count", and yes that's exactly what the page says. i am NOT editing the source material. the zo count said what it said. periodt. π
β¨ AUTHOR β¨
The ldns team at NLnet Labs.
the literal kings and queens of DNS libraries, no big deal π
β¨ REPORTING BUGS β¨
Please report bugs to dns-team@nlnetlabs.nl or on GitHub at https://github.com/NLnetLabs/ldns/issues
found a gremlin? tell the ldns team!! they wanna know!! πβ¨
β¨ COPYRIGHT β¨
Copyright (c) 2004 - 2006 NLnet Labs.
Licensed under the BSD License. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
okay this part is serious β NO WARRANTY, not even the "it'll probably be fine" kind, not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. like, if it breaks, it's not their problem. i'm just the messenger bestie π«Ά
β¨ SEE ALSO β¨
ldns_update_pkt_new. And perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035.
go read those next, iykyk π
β¨ REMARKS β¨
This manpage was automatically generated from the ldns source code.
(so if the vibes are a little unhinged, blame the code generator, not me π)
and that's the page!! this came from the ldns library, dated 30 May 2006, and yeah she's still serving after all these years. ldns(3) forever πβ¨ bye bestie, go count some packets!! π¦
π¦ where this page comes from
- alpine 3.22: ldns-doc 1.8.4-r0 Β· BSD-3-Clause
- alpine 3.23: ldns-doc 1.8.4-r1 Β· BSD-3-Clause
- alpine 3.24: ldns-doc 1.8.4-r1 Β· BSD-3-Clause
- arch rolling: ldns 1.9.2-1 Β· custom:BSD
- debian trixie: libldns-dev 1.8.4-2+b1
- fedora 43: ldns-devel 1.8.4-8.fc43 Β· BSD-3-Clause
- fedora 43: ldns-devel 1.8.4-8.fc43 Β· BSD-3-Clause
- fedora 43: ldns-devel 1.9.2-1.fc43 Β· BSD-3-Clause
- fedora 43: ldns-devel 1.9.2-1.fc43 Β· BSD-3-Clause
- fedora 44: ldns-devel 1.9.0-2.fc44 Β· BSD-3-Clause
- fedora 44: ldns-devel 1.9.0-2.fc44 Β· BSD-3-Clause
- fedora 44: ldns-devel 1.9.2-1.fc44 Β· BSD-3-Clause
- fedora 44: ldns-devel 1.9.2-1.fc44 Β· BSD-3-Clause
- nixos 26.05: ldns 1.9.2
- nixpkgs unstable: ldns 1.9.2
- opensuse-leap 16.0: ldns-devel 1.8.4-160000.3.1 Β· BSD-3-Clause
- opensuse-leap 16.0: ldns-devel 1.8.4-160000.3.1 Β· BSD-3-Clause
- opensuse-leap 16.0: ldns-devel 1.8.4-160000.3.1 Β· BSD-3-Clause
- opensuse-leap 16.0: ldns-devel 1.8.4-160000.3.1 Β· BSD-3-Clause
- ubuntu questing: libldns-dev 1.8.4-2build1
- ubuntu resolute: libldns-dev 1.8.4-2build3
- ubuntu stonking: libldns-dev 1.9.2-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms