nftnl_chain_list(3)

πŸ’– NAME πŸ’–

nftnl_chain_list β€” bestie, this is the little struct that holds your whole chain list, and we're gonna get to know it fr fr 🫢


✨ SYNOPSIS ✨

Data Fields

struct list_head list
struct hlist_head name_hash [CHAIN_NAME_HSIZE]

Like… that's it. Two fields. Two. And yet the whole vibe of the thing lives right there πŸ’…


πŸ¦‹ DETAILED DESCRIPTION πŸ¦‹

Okay so real talk: the definition lives at line 911 of file chain.c. Yes, nine-one-one, which is honestly iconic of it β€” this struct is the emergency contact of chain management and it knows it. 🚨✨


🌸 FIELD DOCUMENTATION 🌸

struct list_head nftnl_chain_list::list

The main-character linked list field, defined at line 913 of file chain.c. She's the one keeping everybody in line (literally, it's a list, that's the joke, iykyk). πŸ‘‘

struct hlist_head nftnl_chain_list::name_hash[CHAIN_NAME_HSIZE]

A whole hash bucket array of struct hlist_head, sized CHAIN_NAME_HSIZE, defined at line 914 of file chain.c. So you can find a chain by name without scrolling the whole list like a hater. Efficiency? Slay. πŸ¦‹πŸ”₯


πŸŽ€ AUTHOR πŸŽ€

Generated automatically by Doxygen for libnftnl from the source code.

Not a human, not a poet, just Doxygen doing its little robot thing and honestly? It ate. πŸ€–πŸ’–


And that's the whole page, babe β€” no cap, every single field accounted for 🌈⭐ This was libnftnl Version 1.3.1 pulling up in the nftnl_chain_list(3) slot, and it said what it said. Periodt. πŸ’…πŸŒΈπŸ’œ

πŸ“¦ where this page comes from