`IPVAddressV(46)::fromInverseArpaName` static methods
[folly.git] / folly / IPAddressV6.h
index c6ddc453235689659b556696b2b08a2c71396780..21e892a42aac4f986c2c4a0d89585cb0e4b1431e 100644 (file)
@@ -101,6 +101,13 @@ class IPAddressV6 {
     return addr;
   }
 
+  /**
+   * Create a new IPAddress instance from the ip6.arpa representation.
+   * @throws IPAddressFormatException if the input is not a valid ip6.arpa
+   * representation
+   */
+  static IPAddressV6 fromInverseArpaName(const std::string& arpaname);
+
   /**
    * Returns the address as a Range.
    */