diff options
Diffstat (limited to 'src/plain_packet.c')
-rw-r--r-- | src/plain_packet.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plain_packet.c b/src/plain_packet.c index 8b63e4a..5675c63 100644 --- a/src/plain_packet.c +++ b/src/plain_packet.c @@ -50,6 +50,11 @@ void plain_packet_init(plain_packet_t* packet) memset (packet, 0, sizeof(*packet)); } +u_int32_t plain_packet_get_header_length() +{ + return sizeof(payload_type_t); +} + u_int8_t* plain_packet_get_packet(plain_packet_t* packet) { if(!packet) |