code: def _traceroute_callback(self, line, kill_switch):
      
  
      line = line.lower()
      if "traceroute to" in line:
          self.started = True
      # need to run as root but not running as root.
      # usually happens when doing TCP and ICMP traceroute.
      if "enough privileges" in line:
          self.error = True
          self.kill_switch()
          self.stopped = True
      # name resolution failed
      if "service not known" in line:
          self.error = True
          self.kill_switch()
          self.stopped = True
docs: Callback function to handle traceroute.
  
      :param self:
      :param line:
      :param kill_switch:
      :return: