def METHOD_NAME():
  """Stops the network emulation by flushing all Dummynet rules.
  Notice that this will flush any rules that may have been created previously
  before starting the emulation.
  """
  _RunIpfwCommand(['-f', 'flush'],
                          'Failed to flush Dummynet rules!')
  _RunIpfwCommand(['-f', 'pipe', 'flush'],
                          'Failed to flush Dummynet pipes!')