Add a function to dump the content of the ip cache.