{  ipfix_end_data_set(exporter); ipfix_send(exporter);  LOG("Flushing %d packets from stream\n", numPacketsToRelease); for (int i = 0; i < numPacketsToRelease; i++) { (packetsToRelease[i])->release(); } numPacketsToRelease = 0; }
{  ipfix_end_data_set(exporter); ipfix_send(exporter);  DPRINTF("Flushing %d packets from stream\n", numPacketsToRelease); for (int i = 0; i < numPacketsToRelease; i++) { (packetsToRelease[i])->release(); } numPacketsToRelease = 0; }
  void FlushPacketStream()  {    // end the packet stream and send the IPFIX packet out through the wire    ipfix_end_data_set(exporter);    ipfix_send(exporter);        LOG("Flushing %d packets from stream\n", numPacketsToRelease);    for (int i = 0; i < numPacketsToRelease; i++)    {      (packetsToRelease[i])->release();    }    numPacketsToRelease = 0;  }