nftnl_ruleset(3)

πŸ’– nftnl_ruleset(3) πŸ’–

okay so bestie, welcome to the nftnl_ruleset page β€” it's from the Library Functions Manual and it's genuinely just a lil struct tour, but we're gonna make it cute anyway πŸŽ€


✨ NAME ✨

nftnl_ruleset β€” the ruleset struct itself, no cap πŸ’…


🌸 SYNOPSIS 🌸

πŸ¦‹ Data Fields πŸ¦‹

here's the whole squad, all the fields chilling inside nftnl_ruleset:

struct nftnl_table_list * table_list
struct nftnl_chain_list * chain_list
struct nftnl_set_list * set_list
struct nftnl_rule_list * rule_list
uint16_t flags

like. that's the entire vibe. four lists and a flags field. iconic honestly ✨


πŸ’œ Detailed Description πŸ’œ

the definition lives at line 22 of file ruleset.c. that's it, that's the whole description, she's lowkey mysterious like that πŸ™ˆ


πŸŽ€ Field Documentation πŸŽ€

🌈 struct nftnl_chain_list* nftnl_ruleset::chain_list

definition is at line 24 of file ruleset.c πŸ’«

🌈 uint16_t nftnl_ruleset::flags

definition is at line 28 of file ruleset.c πŸ’«

🌈 struct nftnl_rule_list* nftnl_ruleset::rule_list

definition is at line 26 of file ruleset.c πŸ’«

🌈 struct nftnl_set_list* nftnl_ruleset::set_list

definition is at line 25 of file ruleset.c πŸ’«

🌈 struct nftnl_table_list* nftnl_ruleset::table_list

definition is at line 23 of file ruleset.c πŸ’«

ngl bestie, the lines are not in alphabetical order up there, they're in field-name order β€” table_list 23, chain_list 24, set_list 25, rule_list 26, and flags bringing up the rear at 28 πŸ’€ don't come for me, that's just how the page is laid out 🫢

πŸ‘‘ Author πŸ‘‘

generated automatically by Doxygen for libnftnl, straight from the source code. so nobody hand-wrote this one, it's giving robot main character energy πŸ€–βœ¨


and that's the whole page, bestie!! this was libnftnl, Version 1.3.1 β€” shoutout to the nftnl_ruleset(3) page for being short and sweet, we love a low-effort slay πŸ’– go build something gorgeous with those four lists and that uint16_t flags, mwah πŸŽ€πŸ¦‹πŸ’…

πŸ“¦ where this page comes from