mirror of
https://github.com/Karaka-Management/cOMS.git
synced 2026-01-11 11:18:40 +00:00
19 lines
374 B
C
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 |