code: def collect_ip6table(self, tablename):
          
  
          modname = "ip6table_"+tablename
          if self.check_ext_prog("grep -q %s /proc/modules" % modname):
              cmd = "ip6tables -t "+tablename+" -nvL"
              self.add_cmd_output(cmd)
docs: Same as function above, but for ipv6