private void process_buffer()
	{
		for (int i = 0; i < this.interfaces; i++)
		{
			RouterBuffer buf = this.buffers.get(i);
			while (!buf.is_empty())
			{
				try 
				{   //tempo de latência do roteador para processar pacote
					sleep((long) this.performance);//this.performance);
				} catch (InterruptedException e) 
				{
					e.printStackTrace();
					break;
				}
				Packet packet = process_package();
				if (packet == null)
					continue;
				int port = route_from_packet(packet);
				send_packet(packet, port);
			}
		}
	}