Modules§
Structs§
- Accept
Queue - Audit
Netlink Client - Audit client that can be attached to the
AuditLogger. - Audit
Netlink Socket - Audit Netlink Socket structure.
- Generic
Netlink - Generic
Netlink Client Handle - Generic
Netlink Worker Params - Netlink
Access Control - Netlink
Address - Netlink
Context Impl - Netlink
ToClient Sender - Type for sending messages from
netlink::Netlinkto an individual socket. - Qipcrtr
Socket - Socket
- A
Socketrepresents one endpoint of a bidirectional communication channel. - Socket
File - Socket
Fs SocketFsis the file system where anonymous socket nodes are created, for example insys_socket.- Socket
Message Flags - Socket
Protocol - Socket
Shutdown Flags - The flags for shutting down sockets.
- Socket
Tokens Store - Unix
Socket - The data of a socket is stored in the “Inner” struct. Because both ends have separate locks, care must be taken to avoid taking both locks since there is no way to tell what order to take them in.
- Vsock
Socket - Zxio
Backed Socket - A socket backed by an underlying Zircon I/O object.
Enums§
Constants§
- DEFAULT_
LISTEN_ BACKLOG - SA_
FAMILY_ SIZE - SA_
STORAGE_ SIZE - SOCKET_
DEFAULT_ SIZE - SOCKET_
MAX_ SIZE - SOCKET_
MIN_ SIZE - ZXIO_
SOCKET_ MARK_ SO_ MARK - Linux marks aren’t compatible with Fuchsia marks, we store the
SO_MARKvalue in the fuchsiaZXIO_SOCKET_MARK_DOMAIN_1. If a mark in this domain is absent, it will be reported to starnix applications as a0since that is the default mark value on Linux. - ZXIO_
SOCKET_ MARK_ UID - Fuchsia does not have uids, we use the
ZXIO_SOCKET_MARK_DOMAIN_2on the socket to store the UID for the sockets created by starnix.
Traits§
Functions§
- new_
netlink_ socket - resolve_
unix_ socket_ address - run_
generic_ netlink_ worker - socket_
fs - Returns a handle to the
SocketFsinstance inkernel, initializing it if needed.