dnsjit.core.receiver(3)
π dnsjit.core.receiver(3) π
okay bestie, welcome to the Library Functions Manual section for dnsjit.core.receiver β yes the page name says receiver but the whole thing is lowkey about a time structure, we don't make the rules, we just read them π
β¨ NAME β¨
dnsjit.core.receiver β a non-system depended time specification structure definition π°οΈ
Like, it's a time thing. But make it portable. Periodt.
πΈ SYNOPSIS πΈ
typedef struct core_timespec {
int64_t sec;
int64_t nsec;
} core_timespec_t;
π C
#include "core/timespec.h"
π¦ Lua
require("dnsjit.core.timespec_h")
β Lua functions
local ts = require("dnsjit.core.timespec"):max_init()
π DESCRIPTION π
So the tea is this: it's mainly used in C modules, and it gives you a time specification structure that's system independent β meaning it doesn't care what your OS thinks time is β and it can be passed to Lua. iconic behaviour fr fr π«Ά
π§ Functions
Timespec:max_init()β returns a brand new structure where bothsecandnsecare set to2LL ^ 62, which is the maximum positive values according to Lua. the absolute ceiling, the final boss, no cap π₯
π AUTHORS and CONTRIBUTORS π
- Jerry LundstrΓΆm (DNS-OARC)
- TomΓ‘Ε‘ KΕΓΕΎek (CZ.NIC)
- Petr Ε paΔek (ISC)
Maintained by DNS-OARC π
https://www.dns-oarc.net/
π BUGS π
Got issues? Got feature requests? Bestie, don't suffer in silence, use this:
https://codeberg.org/DNS-OARC/dnsjit/issues
For questions and help, hit up:
admin@dns-oarc.net
mwah π this page is from dnsjit, version 1.5.1 β that's the source and the version, and honestly? slay. thanks for reading, bestie, go touch some int64_t πβ¨
π¦ where this page comes from
- epel 10: dnsjit 1.5.1-2.el10_2 Β· GPL-3.0-or-later
- epel 9: dnsjit 1.5.1-2.el9 Β· GPL-3.0-or-later
- fedora 43: dnsjit 1.5.1-2.fc43 Β· GPL-3.0-or-later
- fedora 43: dnsjit 1.5.1-2.fc43 Β· GPL-3.0-or-later
- fedora 44: dnsjit 1.5.1-2.fc44 Β· GPL-3.0-or-later
- fedora 44: dnsjit 1.5.1-2.fc44 Β· GPL-3.0-or-later
- ubuntu resolute: dnsjit 1.5.1-2 Β· GPL-3.0-or-later
- ubuntu stonking: dnsjit-dev 1.5.1-6 Β· GPL-3.0-or-later
- Copyright (c) 2018-2026 OARC, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms