Crate net_declare
source ·Modules
Redeclaration of macros to generate
fidl
types.Redeclaration of macros to generate
net_types
types.Redeclaration of macros to generate
std
types.Macros
Declares a [
fidl_fuchsia_net::IpAddress
] from a parsable IP address
(either V4 or V6) string.Declares a [
fidl_fuchsia_net::Ipv4Address
] from a parsable IPv4 address
string.Declares a [
fidl_fuchsia_net::Ipv4AddressWithPrefix
] from a parsable IPv4Declares a [
fidl_fuchsia_net::Ipv6Address
] from a parsable IPv6 address
string.Declares a [
fidl_fuchsia_net::Ipv6AddressWithPrefix
] from a parsable IPv6Declares a [
fidl_fuchsia_net::MacAddress
] from a parsable MAC address in
the form aa:bb:cc:dd:ee:ff
.Declares an [
fidl_fuchsia_net::SocketAddress
] from a parsable IP address +
port string (either V4 or V6).Declares a [
fidl_fuchsia_net::Ipv4SocketAddress
] from a parsable IPv4
address + port in the form addr:port
.Declares a [
fidl_fuchsia_net::Ipv6SocketAddress
] from a parsable IPv6
address + port in the form [addr]:port
.Declares a [
fidl_fuchsia_net::Subnet
] from a parsable CIDR address string
in the form addr/prefix
, e.g. 192.168.0.1/24
or ff08::1/64
.Declares a [
net_types::ip::IpAddr
] from a parsable IP address (either V4
or V6) string.Declares a [
net_types::ip::Ipv4Addr
] from a parsable IPv4 address string.Declares a [
net_types::ip::Ipv6Addr
] from a parsable IPv6 address string.Declares a [
net_types::ethernet::Mac
] from a parsable MAC address in
the form aa:bb:cc:dd:ee:ff
.Declares a [
net_types::ip::Subnet<Ipv4Addr>
] from a parsable IPv4 CIDR
address string.Declares a [
net_types::ip::Subnet<Ipv6Addr>
] from a parsable IPv6 CIDR
address string.Declares an [
std::net::IpAddr
] from a parsable IP address (either V4 or
V6) string.Declares an [
std::net::Ipv4Addr
] from a parsable IPv4 address string.Declares an [
std::net::Ipv6Addr
] from a parsable IPv6 address string.Declares an [
std::net::SocketAddr
] from a parsable IP address + port
string (either V4 or V6).Declares an [
std::net::SocketAddrV4
] from a parsable IPv4 address + port
in the form addr:port
.Declares an [
std::net::SocketAddrV6
] from a parsable IPv6 address + port
in the form [addr]:port
.