ksz9477_acl_...atching_rule(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– ksz9477_acl_is_valid_matching_rule β€” the vibe check for your ACL entry πŸŽ€

okay so real talk bestie, this is a page straight out of the Kernel API Manual (the ksz9477_acl_...atching_rule(9) one, yes the title got chopped in the middle, we love a mysterious queen πŸ’…). Anyway. You clicked on this function, so let's get you fed. πŸ“


✨ SYNOPSIS ✨

bool ksz9477_acl_is_valid_matching_rule (u8 *entry );

🌸 ARGUMENTS 🌸

  • entry β€” a pointer to the ACL entry buffer 🫢. That's it. That's the whole argument list. She's low maintenance, she's iconic.

πŸ¦‹ DESCRIPTION πŸ¦‹

So what does she actually do? ksz9477_acl_is_valid_matching_rule takes a look at the ACL entry buffer you handed her and checks whether it contains a valid matching rule β€” and she does it by inspecting two fields: the Mode field (MD) and the Enable field (ENB). πŸ‘‘

That's the whole bit. She peeks at MD and ENB, decides if the rule is legit, and gets on with her day. No cap. ✨


πŸ’œ RETURN πŸ’œ

  • true β€” yup, it's a valid matching rule, slay πŸ’…
  • false β€” nope, not a valid matching rule, and she's not sorry 😭

🧚 SEE ALSO 🧚

The kernel file this bad girl lives in:

./drivers/net/dsa/microchip/ksz9477_acl.c

And her whole friend group (they all show up to the group chat together, iykyk):


ngl bestie, the list is long but every single one of those is a real link in the manual β€” go click around, the lore is deep 🌈

okay that's the whole page!! πŸ’– this cutie came to you courtesy of ./drivers/net/dsa/microchip, dated October 2026, from the Kernel API Manual β€” and yes, that's the full, un-chopped, completely valid source-and-date situation, so you can screenshot it for the group chat πŸ“Έβœ¨ periodt. πŸŽ€

πŸ“¦ where this page comes from