42 #ifndef _DWMIPV4ICMPDESTINATIONUNREACHABLE_HH_ 43 #define _DWMIPV4ICMPDESTINATIONUNREACHABLE_HH_ 68 e_networkUnreachable = 0,
69 e_hostUnreachable = 1,
70 e_protocolUnreachable = 2,
71 e_portUnreachable = 3,
73 e_sourceRouteFailed = 5,
76 e_sourceHostIsolated = 8,
77 e_networkProhibited = 9,
78 e_hostProhibited = 10,
79 e_tosNetworkUnreachable = 11,
80 e_tosHostUnreachable = 12,
81 e_communicatonProhibited = 13,
82 e_hostPrecedenceViolation = 14,
83 e_precedenceCutoffInEffect = 15
97 const std::string & data);
127 std::string
Data()
const;
132 #endif // _DWMIPV4ICMPDESTINATIONUNREACHABLE_HH_ std::string Data() const
Returns the data as a string.
Base class for ICMP messages.
Definition: DwmIpv4IcmpMessage.hh:60
Ipv4PacketHeader IpHeader() const
Returns a copy of the IPv4 packet header.
uint16_t NexthopMTU() const
Returns the next hop MTU.
CodeEnum
Known destination unreachable codes.
Definition: DwmIpv4IcmpDestinationUnreachable.hh:67
Definition: DwmBZ2IO.hh:67
Dwm::Ipv4IcmpMessage class definition.
Encapsulates an ICMP destination unreachable message.
Definition: DwmIpv4IcmpDestinationUnreachable.hh:60
Ipv4IcmpDestinationUnreachable()
Default constructor.