Module socket

Module socket 

Source
Expand description

Socket address manipulation, socket device ioctls, etc.

Modules§

ip
Address types for the IPv4 and IPv6 protocol families.

Structs§

SocketDevice
Device type marker for crate::File instances that represent sockets.
SocketProtocolFixed
A reasonable default implementation of SocketProtocol with a fixed protocol number and device type.

Enums§

sock_type
The type for representing socket communication model types.

Constants§

SIOCGSTAMP
ioctl request to retrieve a struct timeval with the receive timestamp of the last packet passed to the user.

Traits§

SockAddr
A trait implemented by all socket address types.
SocketProtocol
Represents a socket protocol that is compatible with sockets belonging to the domain/family FAMILY.

Functions§

socket_protocol
Builds a reasonable default implementation of SocketProtocol with a fixed protocol number and device type.