ipc_protocol_msg_send(9)
π ipc_protocol_msg_send(9) β the kernel API manual, bestie edition
okay so like. hi. you're reading the page for ipc_protocol_msg_send(9) and honestly? you came to the right place. this is the kernel API manual, section 9, and we're gonna get you comfy with it. no gatekeeping, no "figure it out yourself" energy β just vibes and facts. π
β¨
πΈ NAME πΈ
ipc_protocol_msg_send β Send ipc control message to CP and wait for response
like, that's literally it. you yeet a control message over to the CP and then you stay there, waiting, like a bestie refreshing their messages at 2am. π«Ά
β¨ SYNOPSIS β¨
int ipc_protocol_msg_send (struct iosm_protocol *ipc_protocol , enum
ipc_msg_prep_type prep , union ipc_msg_prep_args *prep_args );
three args, one int coming back. iconic. no cap. π
π ARGUMENTS π
ipc_protocolβ Pointer to ipc_protocol instance. yeah it's a pointer to theipc_protocolinstance, your main character struct, the one who runs the whole group chat. πprepβ Message type. this is theenumtelling everyone what kind of message we're sending. type check: passed. πprep_argsβ Message arguments. the actual payload-ish side of things β aunionof the message args. pack it cute, pack it right. π
π¦ RETURN π¦
0 on success and failure value on error
so: 0 means slay, we're good. anything in the "failure value" category means it did not slay, and you should probably handle it instead of pretending you didn't see it. ππ
π SEE ALSO π
- Kernel file
./drivers/net/wwan/iosm/iosm_ipc_protocol.h struct ipc_protocol_context_info(9)struct ipc_protocol_device_info(9)struct ipc_protocol_ap_shm(9)struct iosm_protocol(9)struct ipc_call_msg_send_args(9)ipc_protocol_tq_msg_send(9)ipc_protocol_suspend(9)ipc_protocol_s2idle_sleep(9)ipc_protocol_resume(9)ipc_protocol_pm_dev_sleep_handle(9)ipc_protocol_doorbell_trigger(9)ipc_protocol_sleep_notification_string(9)ipc_protocol_init(9)ipc_protocol_deinit(9)
that's the whole extended friend group right there. go say hi. ππ¦
ngl, the file path and the date down there are the actual page footer, so here's the cute sign-off instead of a boring copied line: this lil page lives under./drivers/net/wwan/iosm, it's dated October 2026, and it goes byipc_protocol_msg_send(9). mwah. ππ§π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms