EHS
ehs::BaseICMP Class Reference

#include <BaseICMP.h>

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

Public Member Functions

 BaseICMP ()
 
 BaseICMP (IP version)
 
 BaseICMP (BaseICMP &&icmp) noexcept
 
 BaseICMP (const BaseICMP &icmp)
 
BaseICMPoperator= (BaseICMP &&icmp) noexcept
 
BaseICMPoperator= (const BaseICMP &icmp)
 
virtual UInt_64 Send (const Str_8 &address, ICMP_Header header, const Byte *data, UInt_64 size)
 
virtual 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)
 
virtual bool IsValid () const
 

Static Protected Member Functions

static UInt_16 ComputeChecksum (UInt_16 *buffer, Size length)
 

Constructor & Destructor Documentation

◆ 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

◆ ComputeChecksum()

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

◆ 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 
)
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 
)
virtual

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

◆ 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: