60 virtual UInt_64 SendV6(
const Str_8 &address,
ICMP_Header header,
const Byte *data, UInt_64 size);
62 virtual UInt_64 SendV4(
const Str_8 &address,
ICMP_Header header,
const Byte *data, UInt_64 size);
Definition: BaseICMP.h:23
virtual void SetReceiveTimeout(UInt_64 timeout)
Definition: BaseICMP.cpp:94
BaseICMP()
Definition: BaseICMP.cpp:8
virtual bool IsValid() const
Definition: BaseICMP.cpp:103
BaseICMP & operator=(BaseICMP &&icmp) noexcept
Definition: BaseICMP.cpp:28
UInt_64 Send(const Str_8 &address, ICMP_Header header, const Byte *data, UInt_64 size)
Definition: BaseICMP.cpp:52
virtual ~BaseICMP()=default
virtual void Release()
Definition: BaseICMP.cpp:48
IP GetVersion() const
Definition: BaseICMP.cpp:98
UInt_64 Receive(Str_8 &address, ICMP_Header &header, Serializer< UInt_64 > &data)
Definition: BaseICMP.cpp:60
static UInt_16 ComputeChecksumV4(UInt_16 *buffer, Size length)
Definition: BaseICMP.cpp:108
void SendEchoRequest(const Str_8 &address, ICMP_EchoRequest er, const Byte *data, UInt_64 size)
Definition: BaseICMP.cpp:68
IP
Definition: Socket.h:29
unsigned char UInt_8
Definition: Types.h:43
unsigned char Byte
Definition: Types.h:39
unsigned short UInt_16
Definition: Types.h:46
Definition: BaseICMP.h:17
UInt_16 id
Definition: BaseICMP.h:18
UInt_16 sequence
Definition: BaseICMP.h:19