rpmsg_sendto(9)
π rpmsg_sendto(9) π
okay so bestie, this is the Kernel API Manual page for rpmsg_sendto(9), and it's giving βsend a message to a remote processor but make it destination-specific.β π«Άβ¨
β¨ NAME β¨
rpmsg_sendto β send a message across to the remote processor, specify dst
π SYNOPSIS π
int rpmsg_sendto (struct rpmsg_endpoint *ept , const void *data , int
len , u32 dst );
π ARGUMENTS π
eptβ the rpmsg endpoint. the main character you're sending through. πdataβ payload of message. the actual message snack. πlenβ length of payload. how much of the payload you're bringing. β¨dstβ destination address. where it's headed, no cap. π―
πΈ DESCRIPTION πΈ
okay so this function sends data of length len to the remote dst address. periodt. The message will be sent to the remote processor which the ept endpoint belongs to, using ept's address as source. iykyk. β¨
In case there are no TX buffers available, the function will block until one becomes available, or a timeout of 15 seconds elapses. π When the latter happens, -ERESTARTSYS is returned. not me waiting on a buffer like it's a text back. π
bestie, it can only be called from process context (for now). that's the vibe check. π
π¦ RETURN π¦
0 on success and an appropriate error value on failure. slay when it's 0, obviously. π
π₯ SEE ALSO π₯
Kernel file: ./drivers/rpmsg/rpmsg_core.c
rpmsg_create_channel(9)rpmsg_release_channel(9)rpmsg_create_ept(9)rpmsg_destroy_ept(9)rpmsg_send(9)rpmsg_trysend(9)rpmsg_trysendto(9)rpmsg_poll(9)rpmsg_set_flow_control(9)rpmsg_get_mtu(9)__register_rpmsg_driver(9)unregister_rpmsg_driver(9)
mwah π this page's source/version line lives at ./drivers/rpmsg, the date is October 2026, and the page is literally rpmsg_sendto(9) β bye bestie! π«Άβ¨
π¦ 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