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:
@@ -44,6 +44,11 @@ namespace Tins {
|
||||
|
||||
class TCP : public PDU {
|
||||
public:
|
||||
/**
|
||||
* \brief This PDU's flag.
|
||||
*/
|
||||
static const PDU::PDUType pdu_flag = PDU::TCP;
|
||||
|
||||
/**
|
||||
* \brief TCP flags enum.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user