docs: def _port_scan_icmp(self, port):
          """Scan the (ICMP) port structure (dict) and update the status key."""
          ret = None
  
          # Create the ping command
          # Use the system ping command because it already have the steacky bit set
          # Python can not create ICMP packet with non root right
          if WINDOWS:
              timeout_opt = '-w'
              count_opt = '-n'
          elif MACOS or BSD:
              timeout_opt = '-t'
              count_opt = '-c'
          else:
              # Linux and co...
              timeout_opt = '-W'
              count_opt = '-c'
          # Build the command line
          # Note: Only string are allowed
          cmd = ['ping',
                 count_opt, '1',
                 timeout_opt, str(self._resolv_name(port['timeout'])),
                 self._resolv_name(port['host'])]
          fnull = open(os.devnull, 'w')
  
          try:
              counter = Counter()
              ret = subprocess.check_call(cmd, stdout=fnull, stderr=fnull, close_fds=True)
              if ret == 0:
                  port['status'] = counter.get()
              else:
                  port['status'] = False
          except subprocess.CalledProcessError as e:
              # Correct issue #1084: No Offline status for timeouted ports
              port['status'] = False
          except Exception as e:
              logger.debug("{}: Error while pinging host {} ({})".format(self.plugin_name, port['host'], e))
  
          return ret