Expand description
Address types for the IPv4 and IPv6 protocol families.
Modules§
- tcp
- Extra types and constants for working with TCP sockets.
Structs§
- Ipv4
Addr - Representation of an IPv4 host address.
- Ipv4
Socket Device - Device type marker for
crate::File
instances that represent IPv4 sockets. - Ipv6
Addr - Representation of an IPv6 host address.
- Ipv6
Socket Device - Device type marker for
crate::File
instances that represent IPv4 sockets. - Sock
Addr Ip - Represents a socket address that can be for either an IPv4 socket or an IPv6 socket, chosen dynamically at runtime.
- Sock
Addr Ipv4 - Socket address type for the IPv4 protocol family.
- Sock
Addr Ipv6 - Socket address type for the IPv6 protocol family.
Enums§
- IpAddr
- Represents a host address that can be either an IPv4 address or an IPv6 address chosen dynamically at runtime.
Constants§
- AF_INET
- Represents the IPv4 address family.
- AF_
INET6 - Represents the IPv6 address family.
- IPPROTO_
AH - IPPROTO_
COMP - IPPROTO_
DCCP - IPPROTO_
EGP - IPPROTO_
ENCAP - IPPROTO_
ESP - IPPROTO_
ETHERNET - IPPROTO_
GRE - IPPROTO_
ICMP - IPPROTO_
IDP - IPPROTO_
IGMP - IPPROTO_
IPV6 - IPPROTO_
L2TP - IPPROTO_
MPLS - IPPROTO_
MPTCP - IPPROTO_
MTP - IPPROTO_
PIM - IPPROTO_
PUP - IPPROTO_
RAW - IPPROTO_
RSVP - IPPROTO_
SCTP - IPPROTO_
TCP - IPPROTO_
TP - IPPROTO_
UDP - IPPROTO_
UDPLITE