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:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user