dnsjit.core.object.tcp(3)
β¨ dnsjit.core.object.tcp β¨
ok so this is the manual for dnsjit.core.object.tcp(3) β it lives in the Library Functions Manual section and it's literally just the TCP segment header object, bestie π
π¦ NAME π¦
dnsjit.core.object.tcp β A TCP segment header
π DESCRIPTION π
It's a TCP segment header, periodt. That's the whole vibe of this object.
But here's the tea, and it's important: the data itself is NOT in here. The actual payload lives in the dnsjit.core.object.payload object, which is the next object in the chain</> after you parse with, for example, dnsjit.filter.layer. So don't come looking for your bytes in the header, she's just the header, she's doing her job π
π Attributes π
sportβ Source port.dportβ Destination port.seqβ Sequence number.ackβ Acknowledgement number.offβ Data offset.x2β Unused. yeah she's just sitting there, unused, iconic honestly πflagsβ TCP flags.winβ Window.sumβ Checksum.urpβ Urgent pointer.optsβ Array of bytes with the TCP options found.opts_lenβ Length of the TCP options.
π§ Functions π§
Tcp:type()β Return the textual type of the object. π«ΆTcp:prev()β Return the previous object. going back in the chain, we love a throwback β¨Tcp:cast()β Cast the object to the underlining object module and return it.Tcp:uncast()β Cast the object to the generic object module and return it.Tcp:copy()β Make a copy of the object and return it. twin energy π―Tcp:free()β Free the object, should only be used on copies or otherwise allocated.
β οΈ okay real talk on that last one: Tcp:free() is only for copies or objects that were otherwise allocated. do not go freeing things that don't belong to you, that's not the move π
π SEE ALSO π
π AUTHORS and CONTRIBUTORS π
Give it up for the legends who made this:
- 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? Feature requests? Don't suffer in silence bestie, use:
https://codeberg.org/DNS-OARC/dnsjit/issues
For questions and help please use:
admin@dns-oarc.net
and that's the whole page, no cap β¨ this was brought to you by dnsjit version 1.5.1, manual page dnsjit.core.object.tcp(3) β mwah, slay, bye π
ππΈ
π¦ 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