Expand description
Types and constants for rustix::net.
Modules§
- eth
ETH_P_*constants.- ipproto
IPPROTO_*constants.- netlink
NETLINK_*constants.- sysproto
SYSPROTO_*constants.- xdp
AF_XDPrelated types and constants.
Structs§
- Address
Family AF_*constants for use withsocket,socket_with, andsocketpair.- Protocol
IPPROTO_*and other constants for use withsocket,socket_with, andsocketpairwhen a nondefault value is desired.- Socket
Flags SOCK_*constants for use withsocket_with,accept_withandacceptfrom_with.- Socket
Type SOCK_*constants for use withsocket.- TxTime
Flags - Flags for use with
set_txtime. - UCred
- UNIX credentials of socket peer, for use with
get_socket_peercredSendAncillaryMessage::ScmCredentialsandRecvAncillaryMessage::ScmCredentials.
Enums§
Functions§
Type Aliases§
- RawAddress
Family - A type for holding raw integer address families.
- RawProtocol
- A type for holding raw integer protocols.
- RawSocket
Type - A type for holding raw integer socket types.