Expand description
Macros for constructing networking address types from the standard library,
FIDL, and [net_types] from human-readable representations.
Modules§
- fidl
- Redeclaration of macros to generate
fidltypes. - net
- Redeclaration of macros to generate
net_typestypes. - std
- Redeclaration of macros to generate
stdtypes.
Macros§
- fidl_ip
- Declares a [
fidl_fuchsia_net::IpAddress] from a parsable IP address (either V4 or V6) string. - fidl_
ip_ v4 - Declares a [
fidl_fuchsia_net::Ipv4Address] from a parsable IPv4 address string. - fidl_
ip_ v6 - Declares a [
fidl_fuchsia_net::Ipv6Address] from a parsable IPv6 address string. - fidl_
ip_ v4_ with_ prefix - Declares a [
fidl_fuchsia_net::Ipv4AddressWithPrefix] from a parsable IPv4 - fidl_
ip_ v6_ with_ prefix - Declares a [
fidl_fuchsia_net::Ipv6AddressWithPrefix] from a parsable IPv6 - fidl_
mac - Declares a [
fidl_fuchsia_net::MacAddress] from a parsable MAC address in the formaa:bb:cc:dd:ee:ff. - fidl_
socket_ addr - Declares an [
fidl_fuchsia_net::SocketAddress] from a parsable IP address + port string (either V4 or V6). - fidl_
socket_ addr_ v4 - Declares a [
fidl_fuchsia_net::Ipv4SocketAddress] from a parsable IPv4 address + port in the formaddr:port. - fidl_
socket_ addr_ v6 - Declares a [
fidl_fuchsia_net::Ipv6SocketAddress] from a parsable IPv6 address + port in the form[addr]:port. - fidl_
subnet - Declares a [
fidl_fuchsia_net::Subnet] from a parsable CIDR address string in the formaddr/prefix, e.g.192.168.0.1/24orff08::1/64. - net_
addr_ subnet - Declares a [
net_types::ip::AddrSubnetEither] from a parsable IP address + prefix length string. - net_
addr_ subnet_ v4 - Declares a [
net_types::ip::AddrSubnet<Ipv4Addr>] from a parsable IPv4 address + prefix length string. - net_
addr_ subnet_ v6 - Declares a [
net_types::ip::AddrSubnet<Ipv6Addr>] from a parsable IPv6 address + prefix length string. - net_ip
- Declares a [
net_types::ip::IpAddr] from a parsable IP address (either V4 or V6) string. - net_
ip_ v4 - Declares a [
net_types::ip::Ipv4Addr] from a parsable IPv4 address string. - net_
ip_ v6 - Declares a [
net_types::ip::Ipv6Addr] from a parsable IPv6 address string. - net_mac
- Declares a [
net_types::ethernet::Mac] from a parsable MAC address in the formaa:bb:cc:dd:ee:ff. - net_
prefix_ length_ v4 - Declares a [
net_types::ip::PrefixLength<Ipv4>] from an integer literal. - net_
prefix_ length_ v6 - Declares a [
net_types::ip::PrefixLength<Ipv6>] from an integer literal. - net_
subnet_ v4 - Declares a [
net_types::ip::Subnet<Ipv4Addr>] from a parsable IPv4 CIDR address string. - net_
subnet_ v6 - Declares a [
net_types::ip::Subnet<Ipv6Addr>] from a parsable IPv6 CIDR address string. - std_ip
- Declares an [
std::net::IpAddr] from a parsable IP address (either V4 or V6) string. - std_
ip_ v4 - Declares an [
std::net::Ipv4Addr] from a parsable IPv4 address string. - std_
ip_ v6 - Declares an [
std::net::Ipv6Addr] from a parsable IPv6 address string. - std_
socket_ addr - Declares an [
std::net::SocketAddr] from a parsable IP address + port string (either V4 or V6). - std_
socket_ addr_ v4 - Declares an [
std::net::SocketAddrV4] from a parsable IPv4 address + port in the formaddr:port. - std_
socket_ addr_ v6 - Declares an [
std::net::SocketAddrV6] from a parsable IPv6 address + port in the form[addr]:port.