STRUCT MR_TABLE_OPS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, this is the struct mr_table_ops(9) page from the Kernel API Manual, and it's literally here to cover callbacks and info for protocol-specific ops. that's the whole assignment. πŸ’…


✨ SYNOPSIS ✨

the struct is giving exactly this, no cap:

struct mr_table_ops {
    const struct rhashtable_params *rht_params;
    void *cmparg_any;
 };

🫢 Members 🫢

two members, both iconic in their own way:

  • rht_params β€” the parameters for accessing the MFC hash. that's it, that's the job. ✨
  • cmparg_any β€” a hash key to be used for matching on (*,*) routes. yes, that exact (*,*) route situation. 🌸

🌈 SEE ALSO 🌈

go check the kernel file ./include/linux/mroute_base.h, plus struct vif_device(9), struct mr_mfc(9), and struct mr_table(9) β€” the whole friend group fr fr. πŸ¦‹


mwah πŸ’‹ source/version: ./include/linux; date: October 2026. bye bestie, go slay those protocol-specific ops πŸ«ΆπŸ‘‘

πŸ“¦ where this page comes from