STRUCT RPMSG_HDR(9)
Hey bestie! π Welcome to the struct rpmsg_hdr(9) page from the Kernel API Manual. Itβs giving βcommon header for all rpmsg messages,β and honestly? Iconic. π
π NAME π
struct rpmsg_hdr β the common header for all rpmsg messages. Thatβs the name, and it ate. π
β¨ SYNOPSIS β¨
struct rpmsg_hdr {
__rpmsg32 src;
__rpmsg32 dst;
__rpmsg32 reserved;
__rpmsg16 len;
__rpmsg16 flags;
u8 data[];
};
π Members π
srcβ source address, aka where the message is coming from πdstβ destination address, aka where itβs headed π―reservedβ reserved for future use, so hands off for now πlenβ length of payload (in bytes), the size tea βflagsβ message flags, little status markers π©dataβlenbytes of message payload data, the actual content bestie π
π¦ Description π¦
Every message sent(/received) on the rpmsg bus begins with this header. Periodt. Itβs the common starting point, no cap. π¦β¨
π SEE ALSO π
Go check these besties for the full lore π
- Kernel file
./drivers/rpmsg/virtio_rpmsg_bus.c struct virtproc_info(9)struct virtio_rpmsg_channel(9)rpmsg_sg_init(9)__ept_release(9)__rpmsg_destroy_ept(9)rpmsg_send_offchannel_raw(9)
Okay thatβs the tea β β source/version is ./drivers/rpmsg, date is October 2026, and the manual name is Kernel API Manual. Byeee bestie, go slay those rpmsg messages πβ¨
π¦ 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