code: def get_ips(v6=False):
      
      res = {}
      for iface in six.itervalues(IFACES):
          ips = []
          for ip in iface.ips:
              if v6 and ":" in ip:
                  ips.append(ip)
              elif not v6 and ":" not in ip:
                  ips.append(ip)
          res[iface] = ips
      return res
docs: Returns all available IPs matching to interfaces, using the windows system.
      Should only be used as a WinPcapy fallback.