Module ipc
Expand description
Qualcomm IPC router sockets (AF_MSM_IPC), based on linux/msm_ipc.h.
Structsยง
- Curr
PktSize ๐ IPC_ROUTER_IOCTL_GET_CURR_PKT_SIZE, which returns the size instead of writing it to the argument.- Lookup
Args ๐ struct server_lookup_args, followed by room for the results.- MsmIpc
Addr ๐ struct msm_ipc_addr.- Port ๐
- Address of a port on the router.
- Server
Info ๐ struct msm_ipc_server_info.- Sockaddr
MsmIpc ๐ struct sockaddr_msm_ipc.- Socket ๐
- Client socket on the IPC router.
Enumsยง
- Filter ๐
- Servers that
Socket::lookupreturns. - Received ๐
- A packet received by
Socket::try_recv.
Constantsยง
- AF_
MSM_ ๐IPC - ETOOSMALL ๐
- Kernel-internal errno for a receive buffer that is too small. The kernel keeps the packet in the queue.
- IPC_
ROUTER_ ๐IOCTL_ BIND_ CONTROL_ PORT _IOR(0xC3, 4, unsigned int).- IPC_
ROUTER_ ๐IOCTL_ GET_ CURR_ PKT_ SIZE _IOR(0xC3, 3, unsigned int). Returns the size of the next packet, or 0.- IPC_
ROUTER_ ๐IOCTL_ LOOKUP_ SERVER _IOWR(0xC3, 2, struct sockaddr_msm_ipc).- MAX_
SERVERS ๐ - Number of servers that a lookup returns at most.
- MSM_
IPC_ ๐ADDR_ ID - SOCKET_
FLAGS ๐Linux