nftnl_trace(3)
π nftnl_trace β bestie's guide to the trace struct π
okay so this is nftnl_trace(3), a page from the libnftnl Library Functions Manual, and it's literally just a big ol' struct reveal. no cap. if you've ever wanted to know exactly which fields a trace object carries around, this is your moment, and I'm obsessed. π¦
β¨ NAME β¨
nftnl_trace β that's it, that's the name, that's the whole thing, she's iconic π
πΈ SYNOPSIS πΈ
Data Fields
here's the entire field lineup, in order, no skips, no skipsies:
char * table
char * chain
char * jump_target
uint64_t rule_handle
struct nftnl_header_data ll
struct nftnl_header_data nh
struct nftnl_header_data th
uint32_t family
uint32_t type
uint32_t id
uint32_t iif
uint32_t oif
uint32_t mark
uint32_t verdict
uint32_t nfproto
uint32_t policy
uint16_t iiftype
uint16_t oiftype
struct {
uint16_t dir
uint32_t id
uint32_t state
uint32_t status
} ct
uint32_t flags
π Detailed Description π
so like, the actual definition lives at line 28 of the file trace.c. that's the whole description bestie, the struct speaks for itself π«Ά
π Field Documentation π
every single field, one by one, with receipts (aka the exact line in trace.c where she's defined):
char* nftnl_trace::chainβ defined at line 30 of filetrace.c. πuint16_t nftnl_trace::dirβ defined at line 48 of filetrace.c. βuint32_t nftnl_trace::familyβ defined at line 36 of filetrace.c. πuint32_t nftnl_trace::flagsβ defined at line 54 of filetrace.c. β¨uint32_t nftnl_trace::idβ defined at line 38 of filetrace.c. π₯uint32_t nftnl_trace::iifβ defined at line 39 of filetrace.c. π¦uint16_t nftnl_trace::iiftypeβ defined at line 45 of filetrace.c. πΈchar* nftnl_trace::jump_targetβ defined at line 31 of filetrace.c. πstruct nftnl_header_data nftnl_trace::llβ defined at line 33 of filetrace.c. πuint32_t nftnl_trace::markβ defined at line 41 of filetrace.c. π§uint32_t nftnl_trace::nfprotoβ defined at line 43 of filetrace.c. πstruct nftnl_header_data nftnl_trace::nhβ defined at line 34 of filetrace.c. πuint32_t nftnl_trace::oifβ defined at line 40 of filetrace.c. πuint16_t nftnl_trace::oiftypeβ defined at line 46 of filetrace.c. π«Άuint32_t nftnl_trace::policyβ defined at line 44 of filetrace.c. πuint64_t nftnl_trace::rule_handleβ defined at line 32 of filetrace.c. βuint32_t nftnl_trace::stateβ defined at line 50 of filetrace.c. πuint32_t nftnl_trace::statusβ defined at line 51 of filetrace.c. πchar* nftnl_trace::tableβ defined at line 29 of filetrace.c. π₯struct nftnl_header_data nftnl_trace::thβ defined at line 35 of filetrace.c. π¦uint32_t nftnl_trace::typeβ defined at line 37 of filetrace.c. πΈuint32_t nftnl_trace::verdictβ defined at line 42 of filetrace.c. β¨
bestie note:dir,state, andstatusare the inner members of that anonymousctstruct up in the synopsis β they get their own documentation entries, and now you know their line numbers too. iykyk π
π Author π
Generated automatically by Doxygen for libnftnl from the source code. the robots did this one, and honestly? they ate. π€β¨
and that's the whole page, bestie!! ππ sign-off time: this is libnftnl, Version 1.3.1, and the page is nftnl_trace(3). mwah, go forth and trace your packets π
ππ¦
π¦ where this page comes from
- ubuntu resolute: libnftnl-dev-doc 1.3.1-1 Β· GPL-2.0-or-later
- ubuntu stonking: libnftnl-dev-doc 1.3.1-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms