equal
deleted
inserted
replaced
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 |