title: Convert ipv4 & ipv6 both into number
body: <pre><code>INET_ATON()
  </code></pre>
  
  <p>Return the numeric value of an IP address</p>
  
  <pre><code>INET6_ATON()
  </code></pre>
  
  <p>Return the numeric value of an IPv6 address</p>
  
  <p>i have a column contain ipv4 &amp; ipv6 both.</p>
  
  <p>I try to convert those to number 'ip_long'(column's name)</p>
  
  <p>I use <code>INET_ATON,</code> it only convert ipv4</p>
  
  <p>My question is, does <code>INET6_ATON</code> convert ipv6 only or both?</p>
  
  <p>Is any function can convert both? I have million rows in db need to convert.</p>