netlink_policy_dump_loop(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the Kernel API Manual (section 9, the real ones know) β€” today's main character is netlink_policy_dump_loop. yes she's a function. yes she's a whole vibe. let's get into it 🫢


✨ NAME ✨

netlink_policy_dump_loop β€” the dumping loop indicator πŸ’«

like, she literally tells you whether the dumping loop keeps going. that's the job. that's the whole job.


πŸ¦‹ SYNOPSIS πŸ¦‹

bool netlink_policy_dump_loop (struct netlink_policy_dump_state *state
);

so clean, so iconic, no notes πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • state β€” the policy dump state πŸ’– β€” like, this is the state object for the policy dump, the one carrying all the dump energy. she's the moment.

🌸 RETURN 🌸

  • true β€” the dump continues, bestie. keep going, we're not done yet πŸ”₯
  • false β€” otherwise. dump's over. that's a wrap πŸ‘‘

ngl this one's easy to remember: true = keep looping, false = we're so done here.


⭐ NOTE ⭐

heads up, this frees the dump state when finishing πŸ’€ β€” so like, she takes care of cleanup on her way out. don't be out here double-freeing things, iykyk πŸ™ˆ

πŸ’œ SEE ALSO πŸ’œ

literally the whole friend group, go say hi to all of them πŸ§šπŸ’–


mwah πŸ’‹ that's the page! this little gem lives in ./net/netlink, the manual's dated October 2026, and it's your girl Kernel API Manual netlink_policy_dump_loop(9) signing off β€” slay, stay looping, and remember: she frees on finish πŸŽ€πŸŒˆβ­

πŸ“¦ where this page comes from