STRUCT SCIFIOCTL_MSG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct scifioctl_msg(9) β€” the Kernel API Manual moment πŸ’…

okay so bestie, today's main character is struct scifioctl_msg, straight out of section 9 of the kernel API manual, and she's the little struct that makes SCIF_SEND/SCIF_RECV IOCTLs happen πŸŽ€ ngl she's tiny but she ATE.


🌸 NAME 🌸

struct scifioctl_msg β€” the struct used for the SCIF_SEND/SCIF_RECV IOCTL. periodt ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

struct scifioctl_msg {
    __u64 msg;
    __s32 len;
    __s32 flags;
    __s32 out_len;
 };

like, that's the whole vibe. four fields, zero drama 🫢


πŸ’– Members πŸ’–

  • msg β€” the address of your message buffer. this is where the actual message lives, gorl πŸ“¬
  • len β€” the length of the message. how much message are we talking about here πŸ’…
  • flags β€” the flags. yes, just flags. they're flags 🚩✨
  • out_len β€” the number of bytes actually sent/received. the receipts, literally 🧾πŸ”₯

⭐ SEE ALSO ⭐

the kernel file ./include/uapi/linux/scif_ioctl.h is the mothership, and she's got a whole friend group β€” go say hi πŸ‘‘:

  • struct scif_port_id(9)
  • struct scifioctl_connect(9)
  • struct scifioctl_accept(9)
  • struct scifioctl_reg(9)
  • struct scifioctl_unreg(9)
  • struct scifioctl_copy(9)
  • struct scifioctl_fence_mark(9)
  • struct scifioctl_fence_signal(9)
  • struct scifioctl_node_ids(9)

and that's the whole page, bestie πŸ’œ this iconic little entry lives under ./include/uapi/linux and is dated October 2026 β€” so yeah, she's from the future, and she's thriving. mwah πŸ˜­πŸŽ€πŸŒΈ

πŸ“¦ where this page comes from