aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/network/packet.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/charon/network/packet.h')
-rw-r--r--Source/charon/network/packet.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/charon/network/packet.h b/Source/charon/network/packet.h
index b91756a03..d1220dfa0 100644
--- a/Source/charon/network/packet.h
+++ b/Source/charon/network/packet.h
@@ -28,12 +28,11 @@
#include <network/host.h>
-
+typedef struct packet_t packet_t;
/**
* @brief UDP-Packet, contains data, sender and receiver
*/
-typedef struct packet_s packet_t;
-struct packet_s {
+struct packet_t {
/**
* source address structure