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 file trace.c. πŸ’œ
  • uint16_t nftnl_trace::dir β€” defined at line 48 of file trace.c. ⭐
  • uint32_t nftnl_trace::family β€” defined at line 36 of file trace.c. 🌈
  • uint32_t nftnl_trace::flags β€” defined at line 54 of file trace.c. ✨
  • uint32_t nftnl_trace::id β€” defined at line 38 of file trace.c. πŸ”₯
  • uint32_t nftnl_trace::iif β€” defined at line 39 of file trace.c. πŸ¦‹
  • uint16_t nftnl_trace::iiftype β€” defined at line 45 of file trace.c. 🌸
  • char* nftnl_trace::jump_target β€” defined at line 31 of file trace.c. πŸ’…
  • struct nftnl_header_data nftnl_trace::ll β€” defined at line 33 of file trace.c. πŸ“
  • uint32_t nftnl_trace::mark β€” defined at line 41 of file trace.c. 🧚
  • uint32_t nftnl_trace::nfproto β€” defined at line 43 of file trace.c. πŸ’–
  • struct nftnl_header_data nftnl_trace::nh β€” defined at line 34 of file trace.c. 🌟
  • uint32_t nftnl_trace::oif β€” defined at line 40 of file trace.c. πŸŽ€
  • uint16_t nftnl_trace::oiftype β€” defined at line 46 of file trace.c. 🫢
  • uint32_t nftnl_trace::policy β€” defined at line 44 of file trace.c. πŸ‘‘
  • uint64_t nftnl_trace::rule_handle β€” defined at line 32 of file trace.c. ⭐
  • uint32_t nftnl_trace::state β€” defined at line 50 of file trace.c. 🌈
  • uint32_t nftnl_trace::status β€” defined at line 51 of file trace.c. πŸ’œ
  • char* nftnl_trace::table β€” defined at line 29 of file trace.c. πŸ”₯
  • struct nftnl_header_data nftnl_trace::th β€” defined at line 35 of file trace.c. πŸ¦‹
  • uint32_t nftnl_trace::type β€” defined at line 37 of file trace.c. 🌸
  • uint32_t nftnl_trace::verdict β€” defined at line 42 of file trace.c. ✨
bestie note: dir, state, and status are the inner members of that anonymous ct struct 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