Skip to main content

Module ipc

Module ipc 

Expand description

Qualcomm IPC router sockets (AF_MSM_IPC), based on linux/msm_ipc.h.

Structsยง

CurrPktSize ๐Ÿ”’
IPC_ROUTER_IOCTL_GET_CURR_PKT_SIZE, which returns the size instead of writing it to the argument.
LookupArgs ๐Ÿ”’
struct server_lookup_args, followed by room for the results.
MsmIpcAddr ๐Ÿ”’
struct msm_ipc_addr.
Port ๐Ÿ”’
Address of a port on the router.
ServerInfo ๐Ÿ”’
struct msm_ipc_server_info.
SockaddrMsmIpc ๐Ÿ”’
struct sockaddr_msm_ipc.
Socket ๐Ÿ”’
Client socket on the IPC router.

Enumsยง

Filter ๐Ÿ”’
Servers that Socket::lookup returns.
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