Module sock_ctrl_msg

Source
Expand description

Used to send and receive messages with file descriptors on sockets that accept control messages (e.g. Unix domain sockets).

Structsยง

ScmSocket
Trait for file descriptors can send and receive socket control messages via sendmsg and recvmsg.

Enumsยง

CmsgBuffer ๐Ÿ”’

Constantsยง

CMSG_BUFFER_INLINE_CAPACITY ๐Ÿ”’
SCM_MAX_FD
SCM_SOCKET_MAX_FD_COUNT
The maximum number of FDs that can be sent in a single send.

Traitsยง

AsIobuf
Trait for types that can be converted into an iovec that can be referenced by a syscall for the lifetime of this object.

Functionsยง

CMSG_ALIGN ๐Ÿ”’
CMSG_DATA ๐Ÿ”’
CMSG_LEN ๐Ÿ”’
CMSG_SPACE ๐Ÿ”’
get_next_cmsg ๐Ÿ”’
raw_recvmsg ๐Ÿ”’
raw_sendmsg ๐Ÿ”’