summaryrefslogtreecommitdiffstats
path: root/src/packet.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/packet.h')
-rw-r--r--src/packet.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/packet.h b/src/packet.h
index 16c37ce..099f855 100644
--- a/src/packet.h
+++ b/src/packet.h
@@ -33,16 +33,16 @@
#define PACKET_TYPE_LEN 1
-typedef enum _fastd_packet_type {
+typedef enum fastd_packet_type {
PACKET_UNKNOWN = 0,
PACKET_HANDSHAKE,
PACKET_DATA,
-} fastd_packet_type;
+} fastd_packet_type_t;
-typedef struct __attribute__ ((__packed__)) _fastd_packet {
+typedef struct __attribute__ ((__packed__)) fastd_packet {
uint8_t rsv1;
uint16_t rsv2;
uint8_t tlv_data[];
-} fastd_packet;
+} fastd_packet_t;
#endif /* _FASTD_PACKET_H_ */