Namespace com.teracloud.streams.network.ipv4
Functions
- compare(rstring, rstring): Returns -1 if ip1 is less than ip2.
- convertHostnameToIPV4AddressNumeric(rstring): This function converts a hostname into a binary IPv4 address.
- convertHostnameToIPV4AddressString(rstring): This function converts a hostname into a string representation of an IPv4 address.
- convertIPV4AddressNumericToHostname(uint32): This function converts a four-byte binary representation of an IPv4 address into a hostname.
- convertIPV4AddressNumericToString(uint32): This function converts a four-byte binary representation of an IPv4 address into a string representation.
- convertIPV4AddressNumericToSubnet(uint32, int32): This function converts a four-byte binary representation of an IPv4 address into a four-byte binary subnet address, using the specified number of mask bits.
- convertIPV4AddressStringToHostname(rstring): This function converts a string containing an IPv4 address into a domain name, if the address has one.
- convertIPV4AddressStringToNumeric(rstring): This function converts a string representation of an IPv4 address to a four-byte binary representation.
- convertIPV4AddressStringToSubnet(rstring, int32): This function converts a string representing an IPv4 address into a string representation of the subnet address, using the specified number of mask bits.
- getAddressRangeInNetworkInt(rstring, uint32, uint32): Returns the range of IP addresses in the network as a start and end values.
- getAllAddressesInNetwork(rstring): Returns a list of all IP addresses in the network as rstring values.
- getAllAddressesInNetworkInt(rstring): Returns a list of all IP addresses in the network as uint32 values.
- isEqualTo(rstring, rstring): Returns true if ip1 and ip2 are valid IPv4 addresses and ip1 address is equal to ip2 address.
- isGlobal(rstring): Returns true if a valid IPv4 address was provided and the IP address is not a reserved address.
- isGreaterThan(rstring, rstring): Returns true if ip1 and ip2 are valid IPv4 addresses and ip1 address is greater than ip2 address.
- isIPV4Address(rstring): Returns true if the value parameter contains a valid IPv4 address in dotted-decimal notation (i.e 0.0.0.0), otherwise returns false.
- isIPV4CIDRNotation(rstring): Returns true if a the networkCIDR argument contains a valid network address in CIDR format (i.e. 0.0.0.0/24). Otherwise returns false.
- isInIPRange(rstring, rstring, rstring): Returns true if startIP, endIP and ip are valid IPv4 addresses and ip falls within the range from startIP (inclusive) to endIP (exclusive).
- isInNetwork(rstring, rstring): Return true if ip address is in the network provided by the networkCIDR argument.
- isInNetwork(rstring, uint32): Return true if ip address is in the network provided by the networkCIDR argument.
- isInNetworkList(list<rstring>, rstring): Return true if ip address is in at least one of the networks provided by the networkList argument.
- isLessThan(rstring, rstring): Returns true if ip1 and ip2 are valid IPv4 addresses and ip1 address is less than ip2 address.
- isLinkLocal(rstring): Returns true if a valid IPv4 address was provided and the IP address is a link local address (RFC3927).
- isLoopback(rstring): Returns true if a valid IPv4 address was provided and the IP address is a loopback address (RFC6890).
- isMulticast(rstring): Returns true if a valid IPv4 address was provided and the IP address is a multicast address (RFC5771).
- isNetworkOverlap(rstring, rstring): Returns true if networkCIDR1 and networkCIDR2 are valid networks in CIDR format and the networks overlap.
- isPrivate(rstring): Returns true if a valid IPv4 address was provided and the IP address is a private address (RFC1918).
- isReserved(rstring): Returns true if a valid IPv4 address was provided and the IP address is a reserved address (RFC1918).
- numAddressesInIPRange(rstring, rstring): Returns the number of IP addresses between ipStart (inclusive) and ipEnd (exclusive).
- numAddressesInNetwork(rstring): Returns the number of IP addresses contained within the network range.