nftnl_rule_list_iter(3)
β¨ NAME β¨
nftnl_rule_list_iter β bestie, this is the little iterator struct from the libnftnl manual, section 3 (library functions), and it's lowkey just two fields holding your place while you walk a rule list π
πΈ SYNOPSIS πΈ
π Data Fields
const struct nftnl_rule_list * liststruct nftnl_rule * cur
π¦ Detailed Description π¦
Okay so this whole thing lives at Definition at line 783 of file rule.c. That's it, that's the lore. It's the struct you keep around so you know which list you're iterating and which rule you're currently on, no cap π«Ά
π Field Documentation π
π struct nftnl_rule* nftnl_rule_list_iter::cur
Definition at line 785 of file rule.c.
This is the field that holds the current rule, i.e. the one you're looking at right now in the walk. It's giving bookmark energy, fr fr β¨
π const struct nftnl_rule_list* nftnl_rule_list_iter::list
Definition at line 784 of file rule.c.
And this one is the list itself β the const struct nftnl_rule_list * you're iterating over. It's the main character of the operation, periodt π
π Author π
Generated automatically by Doxygen for libnftnl from the source code.
Not me finishing a whole manpage and it's literally just two fields π but like, the right two fields.
That's the whole vibe, bestie β slay πβ¨
This was libnftnl, Version 1.3.1, and yeah the manual page is literally named nftnl_rule_list_iter(3) too π Stay hydrated, go iterate something, mwah π
π¦
π¦ 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