Results for “Std.Ip.Address”
28 matching declarations
Use module:Std.List, kind:fn, or is:exact. Put a Pudu type after ::.
- Std.Ip.Address
An internet address.
- Std.Ip.compare
&Std.Ip.Address -> &Std.Ip.Address -> IntOrdering of addresses: every IPv4 address before every IPv6 one, then by
- Std.Ip.contains
&Std.Ip.Network -> &Std.Ip.Address -> BoolWhether the network holds the address. An address of the other family is
- Std.Ip.first
&Std.Ip.Network -> Std.Ip.AddressThe first address of the network.
- Std.Ip.fromBytes
&Bytes -> Result[Std.Ip.Address, Std.Ip.IpError]The address held in 4 or 16 bytes in network order, as a socket reports it.
- Std.Ip.isDocumentation
&Std.Ip.Address -> BoolWhether the address is reserved for documentation:
192.0.2.0/24, - Std.Ip.isLinkLocal
&Std.Ip.Address -> BoolWhether the address is link-local:
169.254.0.0/16orfe80::/10. - Std.Ip.isLoopback
&Std.Ip.Address -> BoolWhether the address is the loopback:
127.0.0.0/8or::1. - Std.Ip.isMulticast
&Std.Ip.Address -> BoolWhether the address is multicast:
224.0.0.0/4orff00::/8. - Std.Ip.isPrivate
&Std.Ip.Address -> BoolWhether the address is in a private range:
10.0.0.0/8,172.16.0.0/12, - Std.Ip.isPublic
&Std.Ip.Address -> BoolWhether the address may be reached across the public internet: none of the
- Std.Ip.isShared
&Std.Ip.Address -> BoolWhether the address is in the carrier-grade shared range
100.64.0.0/10. - Std.Ip.isUnspecified
&Std.Ip.Address -> BoolWhether the address is the unspecified one:
0.0.0.0or::. - Std.Ip.isV4
&Std.Ip.Address -> BoolWhether the address is an IPv4 address.
- Std.Ip.isV6
&Std.Ip.Address -> BoolWhether the address is an IPv6 address.
- Std.Ip.last
&Std.Ip.Network -> Std.Ip.AddressThe last address of the network, which for IPv4 is its broadcast address.
- Std.Ip.mapToV6
&Std.Ip.Address -> Std.Ip.AddressThe IPv4-mapped IPv6 form of an IPv4 address, and an IPv6 address
- Std.Ip.netmask
&Std.Ip.Network -> Std.Ip.AddressThe network's mask written as an address:
255.255.255.0for a/24. - Std.Ip.networkOf
&Std.Ip.Address -> Int -> Option[Std.Ip.Network]The network of the given prefix length that holds the address, with its
- Std.Ip.next
&Std.Ip.Address -> Option[Std.Ip.Address]The address after this one, or
Nonepast the last address of the family. - Std.Ip.parse
Str -> Result[Std.Ip.Address, Std.Ip.IpError]Read an address in either family.
- Std.Ip.previous
&Std.Ip.Address -> Option[Std.Ip.Address]The address before this one, or
Nonebefore the first. - Std.Ip.render
&Std.Ip.Address -> StrAn address written in its canonical form, which
parsereads back as the - Std.Ip.toBytes
&Std.Ip.Address -> BytesThe address as bytes in network order: 4 for IPv4, 16 for IPv6.
- Std.Ip.unmap
&Std.Ip.Address -> Std.Ip.AddressThe IPv4 address an IPv4-mapped IPv6 address carries, and any other address
- Std.Ip.v4
Int -> Int -> Int -> Int -> Std.Ip.AddressThe IPv4 address with the four given octets, each taken modulo 256.
- Std.Ip.width
&Std.Ip.Address -> IntHow many bits an address of this family has: 32 or 128.
- Std.Ip.within
&Array[Std.Ip.Network] -> &Std.Ip.Address -> BoolWhether any of the networks holds the address, which is the question an
