src/helper/emu-helper.h
changeset 6085 94b282f335d2
parent 6053 b17ea72acee9
child 6091 ab0d5e641fd7
equal deleted inserted replaced
6084:42bbd2a3dd1a 6085:94b282f335d2
   121    * NetDevice-specific implementation mechanism for hooking the trace and
   121    * NetDevice-specific implementation mechanism for hooking the trace and
   122    * writing to the trace file.
   122    * writing to the trace file.
   123    *
   123    *
   124    * \param prefix Filename prefix to use for pcap files.
   124    * \param prefix Filename prefix to use for pcap files.
   125    * \param nd Net device for which you want to enable tracing.
   125    * \param nd Net device for which you want to enable tracing.
       
   126    * \param explicitFilename Treat the prefix as an explicit filename if true
   126    * \param promiscuous If true capture all possible packets available at the device.
   127    * \param promiscuous If true capture all possible packets available at the device.
   127    */
   128    */
   128   virtual void EnablePcapInternal (std::string prefix, Ptr<NetDevice> nd, bool promiscuous = false);
   129   virtual void EnablePcapInternal (std::string prefix, Ptr<NetDevice> nd, bool explicitFilename, bool promiscuous);
   129 
   130 
   130   /**
   131   /**
   131    * \brief Enable ascii trace output on the indicated net device.
   132    * \brief Enable ascii trace output on the indicated net device.
   132    * \internal
   133    * \internal
   133    *
   134    *