EHS
ehs::BaseICMP Class Reference

#include <BaseICMP.h>

Inheritance diagram for ehs::BaseICMP:
ehs::ICMP ehs::ICMP

Public Member Functions

virtual ~BaseICMP ()=default
 
 BaseICMP ()
 
 BaseICMP (IP version)
 
 BaseICMP (BaseICMP &&icmp) noexcept
 
 BaseICMP (const BaseICMP &icmp)
 
BaseICMPoperator= (BaseICMP &&icmp) noexcept
 
BaseICMPoperator= (const BaseICMP &icmp)
 
virtual void Release ()
 
UInt_64 Send (const Str_8 &address, ICMP_Header header, const Byte *data, UInt_64 size)
 
UInt_64 Receive (Str_8 &address, ICMP_Header &header, Serializer< UInt_64 > &data)
 
void SendEchoRequest (const Str_8 &address, ICMP_EchoRequest er, const Byte *data, UInt_64 size)
 
virtual void SetReceiveTimeout (UInt_64 timeout)
 
IP GetVersion () const
 
virtual bool IsValid () const
 

Static Protected Member Functions

static UInt_16 ComputeChecksumV4 (UInt_16 *buffer, Size length)
 

Constructor & Destructor Documentation

◆ ~BaseICMP()

virtual ehs::BaseICMP::~BaseICMP ( )
virtualdefault

◆ BaseICMP() [1/4]

ehs::BaseICMP::BaseICMP ( )

◆ BaseICMP() [2/4]

ehs::BaseICMP::BaseICMP ( IP  version)

◆ BaseICMP() [3/4]

ehs::BaseICMP::BaseICMP ( BaseICMP &&  icmp)
noexcept

◆ BaseICMP() [4/4]

ehs::BaseICMP::BaseICMP ( const BaseICMP icmp)

Member Function Documentation

◆ ComputeChecksumV4()

UInt_16 ehs::BaseICMP::ComputeChecksumV4 ( UInt_16 buffer,
Size  length 
)
staticprotected

◆ GetVersion()

IP ehs::BaseICMP::GetVersion ( ) const

◆ IsValid()

bool ehs::BaseICMP::IsValid ( ) const
virtual

Reimplemented in ehs::ICMP, and ehs::ICMP.

◆ operator=() [1/2]

BaseICMP & ehs::BaseICMP::operator= ( BaseICMP &&  icmp)
noexcept

◆ operator=() [2/2]

BaseICMP & ehs::BaseICMP::operator= ( const BaseICMP icmp)

◆ Receive()

UInt_64 ehs::BaseICMP::Receive ( Str_8 address,
ICMP_Header header,
Serializer< UInt_64 > &  data 
)

◆ Release()

void ehs::BaseICMP::Release ( )
virtual

Reimplemented in ehs::ICMP, and ehs::ICMP.

◆ Send()

UInt_64 ehs::BaseICMP::Send ( const Str_8 address,
ICMP_Header  header,
const Byte data,
UInt_64  size 
)

◆ SendEchoRequest()

void ehs::BaseICMP::SendEchoRequest ( const Str_8 address,
ICMP_EchoRequest  er,
const Byte data,
UInt_64  size 
)

◆ SetReceiveTimeout()

void ehs::BaseICMP::SetReceiveTimeout ( UInt_64  timeout)
virtual

Reimplemented in ehs::ICMP, and ehs::ICMP.


The documentation for this class was generated from the following files: