cOMS/network/packet/general/PingPacket.h

19 lines
374 B
C

#ifndef TOS_NETWORK_PACKET_GENERAL_PING_H
#define TOS_NETWORK_PACKET_GENERAL_PING_H
#include <stdio.h>
#include "../../../stdlib/Types.h"
// The default ping package is an empty package
struct PingPackage {};
#pragma pack(push, 1)
struct __attribute__ ((__packed__)) TimedPingPackage {
uint8 msg_type;
uint8 subtype;
uint64 time;
};
#pragma pack(pop)
#endif