Module ip

Source
Expand description

Address types for the IPv4 and IPv6 protocol families.

Modules§

tcp
Extra types and constants for working with TCP sockets.

Structs§

Ipv4Addr
Representation of an IPv4 host address.
Ipv4SocketDevice
Device type marker for crate::File instances that represent IPv4 sockets.
Ipv6Addr
Representation of an IPv6 host address.
Ipv6SocketDevice
Device type marker for crate::File instances that represent IPv4 sockets.
SockAddrIp
Represents a socket address that can be for either an IPv4 socket or an IPv6 socket, chosen dynamically at runtime.
SockAddrIpv4
Socket address type for the IPv4 protocol family.
SockAddrIpv6
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