1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-29 21:14:28 +01:00

Done minor modification, mostly on documentation.

This commit is contained in:
Matias Fontanini
2013-01-29 16:18:08 -03:00
parent 2a1a28c3fb
commit 931a86eff9
5 changed files with 29 additions and 23 deletions

View File

@@ -35,11 +35,22 @@
#include "pdu.h"
#include "timestamp.h"
/**
* \namespace Tins
*/
namespace Tins {
template<typename WrappedType, typename TimestampType>
class PacketWrapper;
/**
* \brief Thin wrapper over a PDU and Timestamp reference.
*/
typedef PacketWrapper<PDU&, const Timestamp&> RefPacket;
/**
* \brief Thin wrapper over a PDU pointer and a Timestamp.
*/
typedef PacketWrapper<PDU*, Timestamp> PtrPacket;
/**
@@ -109,7 +120,7 @@ private:
};
/**
* \brief Represents a sniffed packet.
* \class Represents a sniffed packet.
*
* A Packet contains a PDU pointer and a Timestamp object. Packets
* <b>will delete</b> the stored PDU* unless you call release_pdu at