1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-23 02:35:57 +01:00

Added a constant static value to each PDU indicating the corresponding PDU::PDUType flag.

This commit is contained in:
Matias Fontanini
2012-08-06 22:29:41 -03:00
parent 66dfcb746b
commit 4af3d3c697
17 changed files with 178 additions and 14 deletions

View File

@@ -43,6 +43,11 @@ namespace Tins {
*/
class IP : public PDU {
public:
/**
* \brief This PDU's flag.
*/
static const PDU::PDUType pdu_flag = PDU::IP;
/**
* \brief IP address size.
*/