ldns(3)

πŸ“¦
version 1.9.2 Β· 2 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

ldns_update_set_zocount, ldns_update_set_prcount, ldns_update_set_upcount, ldns_update_set_adcount β€” bestie, these are the little gremlins that set the update packet counters. That's the whole job. They set counters. On packets. Periodt. ✨

This is page ldns(3) from the Library Functions Manual, and no, we are not skipping a single flag, iykyk.


🌸 SYNOPSIS 🌸

#include <stdint.h>
#include <stdbool.h>

#include <ldns/ldns.h>

 ldns_update_set_zocount();

void ldns_update_set_prcount(ldns_pkt *p, uint16_t c);

void ldns_update_set_upcount(ldns_pkt *p, uint16_t c);

void ldns_update_set_adcount(ldns_pkt *p, uint16_t c);

Look at that. Four whole functions. Three of them take arguments, one of them is just vibing with nothing. We love a mysterious queen. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so, grab your packet and let's go through these one by one, because each one is doing its own little thing.

ldns_update_set_zocount()

That's it. That's the entry. No params listed, no explanation given, it's just there, existing, being iconic and undocumented. We respect the mystery. πŸŽ€

ldns_update_set_prcount()

This one sets the pr count. Here's the tea on its arguments:

  • p β€” the packet 🌈
  • c β€” the pr count to set

ldns_update_set_upcount()

This one sets the up count. Arguments:

  • p β€” the packet 🌈
  • c β€” the up count to set

ldns_update_set_adcount()

And this one sets the ad count</ad>. Arguments:

  • p β€” the packet 🌈
  • c β€” the ad count to set

Three nearly identical functions, three different counters, zero notes. It's giving "I have one job and I do it flawlessly." πŸ”₯


πŸ‘‘ AUTHOR πŸ‘‘

The ldns team at NLnet Labs. Absolute legends, we thank them for their service. 🫢


πŸ’€ REPORTING BUGS πŸ’€

Found something cursed? Do NOT suffer in silence, bestie. Report it:

Fr fr, they want to know. Bugs are not a personality trait you have to carry alone. 😭

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. Translation: it is what it is, and legally they are not responsible for what it is. πŸ™ˆ


🌈 SEE ALSO 🌈

Homework. Go read them. Or at least open the tabs. We both know how this works. πŸ“š


🧚 REMARKS 🧚

This manpage was automatically generated from the ldns source code. No human wrote it by hand, which honestly explains a lot about the ldns_update_set_zocount() situation. πŸ’€


and that's the whole page, babes β€” this one's dated 30 May 2006, so it's older than most of us and still serving cunt in the ldns library, from the Library Functions Manual, ldns(3). slay, stay safe, and set those counters responsibly πŸ’…βœ¨πŸŽ€