nftnl_flowtable(3)

πŸ’– nftnl_flowtable πŸ’–

okay bestie, sit down, hydrate, because we're talking about nftnl_flowtable β€” a whole struct from the libnftnl library manual, and she is lowkey iconic. this is the little data baby that holds everything your flowtable needs to know about itself. no cap.


✨ SYNOPSIS ✨

🌸 Data Fields 🌸

here's the whole squad, every single member, exactly as they show up in the struct:

struct list_head head
const char * name
const char * table
int family
uint32_t hooknum
int32_t prio
uint32_t size
struct nftnl_str_array dev_array
uint32_t ft_flags
uint32_t use
uint32_t flags
uint64_t handle

that's the lineup. twelve fields, all of them doing their little job. 🫢


πŸ¦‹ Detailed Description πŸ¦‹

the actual definition of this struct lives at line 21 of file flowtable.c. that's where she was born, and honestly? she ate. πŸ’…


πŸŽ€ Field Documentation πŸŽ€

okay so now we go field by field, because every single one of these cuties has her own lore. 🌈

  • struct nftnl_str_array nftnl_flowtable::dev_array β€” defined at line 29 of file flowtable.c. this is the one holding your device array energy. πŸ’–
  • int nftnl_flowtable::family β€” defined at line 25 of file flowtable.c. the family of the flowtable, keeping things in their lane. ✨
  • uint32_t nftnl_flowtable::flags β€” defined at line 32 of file flowtable.c. flags!! plural!! she's flagging. 🚩
  • uint32_t nftnl_flowtable::ft_flags β€” defined at line 30 of file flowtable.c. yes, there are two flag fields, and no, that's not a typo, they're different and both here, periodt. πŸ’…
  • uint64_t nftnl_flowtable::handle β€” defined at line 33 of file flowtable.c. the 64-bit handle, the last one in the file, the closer of the group. πŸ‘‘
  • struct list_head nftnl_flowtable::head β€” defined at line 22 of file flowtable.c. the very first field, the list head, the main character who shows up first. 🌟
  • uint32_t nftnl_flowtable::hooknum β€” defined at line 26 of file flowtable.c. the hook number. which hook? this hook. πŸͺ
  • const char* nftnl_flowtable::name β€” defined at line 23 of file flowtable.c. her name. const, so don't go messing with it bestie. πŸ™ˆ
  • int32_t nftnl_flowtable::prio β€” defined at line 27 of file flowtable.c. the priority. signed 32-bit, because priorities can be negative, and honestly? relatable. 😭
  • uint32_t nftnl_flowtable::size β€” defined at line 28 of file flowtable.c. the size. of the thing. she's sized. πŸ’«
  • const char* nftnl_flowtable::table β€” defined at line 24 of file flowtable.c. the table name this flowtable is living in, also const, also not to be touched. 🌸
  • uint32_t nftnl_flowtable::use β€” defined at line 31 of file flowtable.c. the use counter. somebody's getting used (affectionately). πŸ”₯
reminder bestie: every one of these line numbers and file names is exact. flowtable.c, lines 21 through 33. don't be out here rounding. πŸ’€

πŸ’œ Author πŸ’œ

Generated automatically by Doxygen for libnftnl from the source code. so like, a robot wrote this, and i'm just the messenger. iconic of her honestly. 🧚


and that's the whole page!! no notes, she's perfect. 🌈⭐ this was libnftnl, Version 1.3.1, nftnl_flowtable(3) β€” thanks for reading, love u, bye bestie!! πŸ’–πŸ«ΆπŸ’…

πŸ“¦ where this page comes from