cOMS/network/packet/general/PingPacket.h
Dennis Eichhorn 39fbcf4300
Some checks are pending
CodeQL / Analyze (${{ matrix.language }}) (autobuild, c-cpp) (push) Waiting to run
Microsoft C++ Code Analysis / Analyze (push) Waiting to run
linux bug fixes
2025-03-22 01:10:19 +00:00

19 lines
376 B
C
Executable File

#ifndef COMS_NETWORK_PACKET_GENERAL_PING_H
#define COMS_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