src/network/helper/trace-helper.h
changeset 7182 5ecfee5d17de
parent 6837 7333e147e014
child 7704 aef733235832
equal deleted inserted replaced
7181:7ff8011cf487 7182:5ecfee5d17de
    79 
    79 
    80   /**
    80   /**
    81    * @brief Create and initialize a pcap file.
    81    * @brief Create and initialize a pcap file.
    82    */
    82    */
    83   Ptr<PcapFileWrapper> CreateFile (std::string filename, std::ios::openmode filemode,
    83   Ptr<PcapFileWrapper> CreateFile (std::string filename, std::ios::openmode filemode,
    84                                   uint32_t dataLinkType,  uint32_t snapLen = 65535, int32_t tzCorrection = 0);
    84                                    uint32_t dataLinkType,  uint32_t snapLen = 65535, int32_t tzCorrection = 0);
    85   /**
    85   /**
    86    * @brief Hook a trace source to the default trace sink
    86    * @brief Hook a trace source to the default trace sink
    87    */
    87    */
    88   template <typename T> void HookDefaultSink (Ptr<T> object, std::string traceName, Ptr<PcapFileWrapper> file);
    88   template <typename T> void HookDefaultSink (Ptr<T> object, std::string traceName, Ptr<PcapFileWrapper> file);
    89 
    89