diff options
Diffstat (limited to 'src/encrypted_packet.c')
-rw-r--r-- | src/encrypted_packet.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/encrypted_packet.c b/src/encrypted_packet.c index eb21828..2cc4e5f 100644 --- a/src/encrypted_packet.c +++ b/src/encrypted_packet.c @@ -47,6 +47,11 @@ void encrypted_packet_init(encrypted_packet_t* packet) memset (packet, 0, sizeof(*packet)); } +u_int32_t encrypted_packet_get_header_length() +{ + return sizeof(encrypted_packet_header_t); +} + u_int8_t* encrypted_packet_get_packet(encrypted_packet_t* packet) { if(!packet) |