Expand description
Redeclaration of macros to generate fidl
types.
Macrosยง
- ip
- Declares a [
fidl_fuchsia_net::IpAddress
] from a parsable IP address (either V4 or V6) string. - ip_v4
- Declares a [
fidl_fuchsia_net::Ipv4Address
] from a parsable IPv4 address string. - ip_v6
- Declares a [
fidl_fuchsia_net::Ipv6Address
] from a parsable IPv6 address string. - mac
- Declares a [
fidl_fuchsia_net::MacAddress
] from a parsable MAC address in the formaa:bb:cc:dd:ee:ff
. - socket_
addr - Declares an [
fidl_fuchsia_net::SocketAddress
] from a parsable IP address + port string (either V4 or V6). - socket_
addr_ v4 - Declares a [
fidl_fuchsia_net::Ipv4SocketAddress
] from a parsable IPv4 address + port in the formaddr:port
. - socket_
addr_ v6 - Declares a [
fidl_fuchsia_net::Ipv6SocketAddress
] from a parsable IPv6 address + port in the form[addr]:port
. - subnet
- Declares a [
fidl_fuchsia_net::Subnet
] from a parsable CIDR address string in the formaddr/prefix
, e.g.192.168.0.1/24
orff08::1/64
.