ipc_protocol_tq_msg_send(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ipc_protocol_tq_msg_send β€” the kernel API manual, section 9, bestie πŸŽ€

okay so real talk, we're in the kernel API manual (ipc_protocol_tq_msg_send(9)) and today's main character is a function that literally preps your msg and sends it to CP. that's the whole vibe. ✨


🌸 NAME 🌸

ipc_protocol_tq_msg_send β€” prepare the msg and send to CP 🫢


✨ SYNOPSIS ✨

int ipc_protocol_tq_msg_send (struct iosm_protocol *ipc_protocol , enum
ipc_msg_prep_type msg_type , union ipc_msg_prep_args *prep_args , struct
ipc_rsp *response );

like, that's the signature. it's giving "i take four things and i return an int" πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • ipc_protocol β€” pointer to an ipc_protocol instance. your whole protocol situation lives here, bestie πŸ’–
  • msg_type β€” the message type. an enum ipc_msg_prep_type, ngl it tells the function what kind of msg we're dealing with πŸ”₯
  • prep_args β€” message arguments. a union ipc_msg_prep_args *, so it's the actual stuff going into the msg πŸŽ€
  • response β€” pointer to a response object which has a completion object and return code. yes, both. it's an icon, it does it all πŸ‘‘

⭐ RETURN ⭐

0 on success, and a failure value on error. periodt. πŸ’€

no cap, if you get anything other than 0 back, something went sideways β€” that's your failure value, go look at it.

🌈 SEE ALSO 🌈

kernel file ./drivers/net/wwan/iosm/iosm_ipc_protocol.h β€” and also the whole bestie squad:

like, read them all, they're literally all connected, iykyk 🧚


okay that's the whole page, mwah πŸ’‹ this came from ./drivers/net/wwan/iosm, dated October 2026, and it's filed under ipc_protocol_tq_msg_send(9). slay, go send some msgs πŸ“πŸ’œ

πŸ“¦ where this page comes from