EHS
Loading...
Searching...
No Matches
ICMP_LNX.h
Go to the documentation of this file.
1#pragma once
2
3#include "BaseICMP.h"
4
5namespace ehs
6{
7 class ICMP : public BaseICMP
8 {
9 private:
10 Int_32 hdl;
11
12 public:
13 ICMP();
14
15 ICMP(IP version);
16
17 ICMP(ICMP &&icmp) noexcept;
18
19 ICMP(const ICMP &icmp);
20
21 ICMP &operator=(ICMP &&icmp) noexcept;
22
23 ICMP &operator=(const ICMP &icmp);
24
25 UInt_64 Send(const Str_8 &address, ICMP_Header header, const Byte *data, UInt_64 size) override;
26
27 UInt_64 Receive(Str_8 &address, ICMP_Header header, Serializer<UInt_64> &data) override;
28
29 void SetReceiveTimeout(UInt_64 timeout) override;
30
31 bool IsValid() const override;
32 };
33}
BaseICMP()
Definition BaseICMP.cpp:8
ICMP()
Definition ICMP_LNX.cpp:11
ICMP & operator=(ICMP &&icmp) noexcept
Definition ICMP_LNX.cpp:40
UInt_64 Receive(Str_8 &address, ICMP_Header header, Serializer< UInt_64 > &data) override
Definition ICMP_LNX.cpp:108
UInt_64 Send(const Str_8 &address, ICMP_Header header, const Byte *data, UInt_64 size) override
Definition ICMP_LNX.cpp:66
void SetReceiveTimeout(UInt_64 timeout) override
Definition ICMP_LNX.cpp:156
bool IsValid() const override
Definition ICMP_LNX.cpp:172
Definition Serializer.h:25
Definition Anchor.h:6
int Int_32
Definition Types.h:51
IP
Definition Socket.h:29
Str< Char_8, UInt_64 > Str_8
Definition Str.h:1902
unsigned char Byte
Definition Types.h:39
Definition BaseICMP.h:10