Expand description
Types and constants for rustix::net
.
Modules
ETH_P_*
constants.IPPROTO_*
constants.NETLINK_*
constants.SYSPROTO_*
constants.AF_XDP
related types and constants.
Structs
IPPROTO_*
and other constants for use withsocket
,socket_with
, andsocketpair
when a nondefault value is desired. See theipproto
,sysproto
, andnetlink
modules for possible values.SOCK_*
constants for use withsocket
.- UNIX credentials of socket peer, for use with
get_socket_peercred
SendAncillaryMessage::ScmCredentials
andRecvAncillaryMessage::ScmCredentials
.
Enums
SHUT_*
constants for use withshutdown
.
Functions
Type Aliases
- A type for holding raw integer address families.
- A type for holding raw integer protocols.
- A type for holding raw integer socket types.