protocol_id_store(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

hey bestie πŸ’– this is the protocol_id_store(9) page from the Kernel API Manual, and it’s giving β€œsysfs setter” energy, no cap.

πŸ’– NAME πŸ’–

protocol_id_store β€” the set function for the sysfs attribute protocol_id. that’s the whole vibe: it’s the setter side of the glow-up πŸ’…

✨ SYNOPSIS ✨

ssize_t protocol_id_store (struct device *dev , struct device_attribute
       *attr , const char *buf , size_t count );

πŸŽ€ ARGUMENTS πŸŽ€

okay so these are the four cuties this function takes:

  • dev β€” the struct device
  • attr β€” device attributes
  • buf β€” buffer that contains new attribute value
  • count β€” size of buffer

πŸ¦‹ SEE ALSO πŸ¦‹

the kernel file and the whole friend group, fr fr:


k byeee πŸ‘‘ β€” source/version: ./drivers/net/wireless/marvell... Β· October 2026 Β· manual: protocol_id_store(9) in the Kernel API Manual πŸ’œ

πŸ“¦ where this page comes from