diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-12-18 21:00:44 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-12-18 21:00:44 +0100 |
commit | 224ea7b0815187d2a638808e8a50fb29fda832f6 (patch) | |
tree | aabc417ce70e0d83258b8b51439e8f2ccc4b8ffe /src/packet.h | |
parent | 766a0c145dad84b9af35b2bebc032be71509b3df (diff) | |
download | fastd-224ea7b0815187d2a638808e8a50fb29fda832f6.tar fastd-224ea7b0815187d2a638808e8a50fb29fda832f6.zip |
Convert type names to _t convention
Diffstat (limited to 'src/packet.h')
-rw-r--r-- | src/packet.h | 8 |
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_ */ |