EHS
Loading...
Searching...
No Matches
NetUtils.h File Reference
#include "ehs/Serializer.h"

Go to the source code of this file.

Classes

struct  ehs::Header
 
struct  ehs::Packet
 
struct  ehs::Insurance
 

Namespaces

namespace  ehs
 

Macros

#define EHC_IPV4_PAYLOAD   (EHS_IPV4_UDP_PAYLOAD - (UInt_16)sizeof(Header))
 
#define EHC_IPV6_PAYLOAD   (EHS_IPV6_UDP_PAYLOAD - (UInt_16)sizeof(Header))
 

Enumerations

enum class  ehs::NetStatus : UInt_8 { ehs::DISCONNECTED , ehs::ACTIVE , ehs::PENDING , ehs::QUEUED }
 
enum class  ehs::NetChannelType : UInt_8 { ehs::SERVER , ehs::CLIENT }
 

Functions

void ehs::WriteHeader (const Header &header, Serializer< UInt_64 > &data)
 
Header ehs::ReadHeader (Serializer< UInt_64 > &data)
 

Macro Definition Documentation

◆ EHC_IPV4_PAYLOAD

#define EHC_IPV4_PAYLOAD   (EHS_IPV4_UDP_PAYLOAD - (UInt_16)sizeof(Header))

◆ EHC_IPV6_PAYLOAD

#define EHC_IPV6_PAYLOAD   (EHS_IPV6_UDP_PAYLOAD - (UInt_16)sizeof(Header))