summaryrefslogtreecommitdiff
path: root/src/encryptedPacket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/encryptedPacket.cpp')
-rw-r--r--src/encryptedPacket.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/encryptedPacket.cpp b/src/encryptedPacket.cpp
index b580a8a..692d221 100644
--- a/src/encryptedPacket.cpp
+++ b/src/encryptedPacket.cpp
@@ -52,6 +52,11 @@ EncryptedPacket::EncryptedPacket(u_int32_t payload_length, bool allow_realloc)
}
}
+u_int32_t EncryptedPacket::getHeaderLength()
+{
+ return sizeof(struct HeaderStruct);
+}
+
seq_nr_t EncryptedPacket::getSeqNr() const
{
if(header_)