Expand description
Types and constants for rustix::net
.
Modules§
- eth
ETH_P_*
constants.- ipproto
IPPROTO_*
constants.- netlink
NETLINK_*
constants.- sysproto
SYSPROTO_*
constants.- xdp
AF_XDP
related types and constants.
Structs§
- Address
Family AF_*
constants for use withsocket
,socket_with
, andsocketpair
.- Protocol
IPPROTO_*
and other constants for use withsocket
,socket_with
, andsocketpair
when a nondefault value is desired.- Socket
Flags SOCK_*
constants for use withsocket_with
,accept_with
andacceptfrom_with
.- Socket
Type SOCK_*
constants for use withsocket
.- UCred
- UNIX credentials of socket peer, for use with
get_socket_peercred
SendAncillaryMessage::ScmCredentials
andRecvAncillaryMessage::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.