STRUCT SMC_PNETTABLE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct smc_pnettable(9) ✨

okay so bestie, this one's from the Kernel API Manual and it's literally just the anchor struct for the SMC PNET table πŸŽ€ tiny, cute, does exactly two things, and honestly? iconic for it.


🌸 NAME 🌸

struct smc_pnettable β€” the SMC PNET table anchor πŸ’…

Like, it's the anchor. The main character that holds the whole PNET table situation together. no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

struct smc_pnettable {
    struct mutex lock;
    struct list_head pnetlist;
 };

that's the whole thing. two members. that's her 🫢


πŸ’– MEMBERS πŸ’–

  • lock β€” the struct mutex that does the locking for list actions πŸ”’ so, y'know, the lock you grab when you're messing with the list. protect the list, bestie, always.
  • pnetlist β€” a struct list_head holding the list of PNETIDs πŸ“‹ that's the actual list. the PNETIDs live here. periodt.
ngl there is no DESCRIPTION section here β€” the whole struct is basically the description. she said "my members speak for themselves" πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./net/smc/smc_pnet.h β€” go read it, iykyk πŸ”₯


okay that's the whole page, you ate that 🌈 and for the record this came from ./net/smc, dated October 2026 β€” so like, note the date, it's giving vintage-adjacent πŸ’œ mwah, bye bestie! πŸ’…βœ¨

πŸ“¦ where this page comes from