added code to parse ICMP type TimeExceeded
authorChristian Herdtweck <christian.herdtweck@intra2net.com>
Wed, 18 Mar 2015 10:46:13 +0000 (11:46 +0100)
committerChristian Herdtweck <christian.herdtweck@intra2net.com>
Wed, 18 Mar 2015 10:46:13 +0000 (11:46 +0100)
commit15023b9956eab6cfb37b22a14a8c165622c5384f
tree7c85bd4cbbc55adad76b06b001b8e87c94c723dc
parenteb8ded5f50e24490b78df0e947333ab25301f522
added code to parse ICMP type TimeExceeded

* format is identical to DestinationUnreachable and other ICMP replies
  --> created a common half-abstract base class IcmpData_PingFailReply
* added a match_time_exceeded to IcmpPacket which is called by IcmpPinger
17 files changed:
src/CMakeLists.txt
src/icmp/icmpdata.cpp
src/icmp/icmpdata.h
src/icmp/icmpdata_pingfailreply.cpp [new file with mode: 0644]
src/icmp/icmpdata_pingfailreply.h [new file with mode: 0644]
src/icmp/icmpdestinationunreachabledata.cpp
src/icmp/icmpdestinationunreachabledata.h
src/icmp/icmpechodata.cpp
src/icmp/icmpechodata.h
src/icmp/icmpheader.cpp
src/icmp/icmppacket.cpp
src/icmp/icmppacket.h
src/icmp/icmppinger.cpp
src/icmp/icmptimeexceededdata.cpp [new file with mode: 0644]
src/icmp/icmptimeexceededdata.h [new file with mode: 0644]
test/CMakeLists.test_icmpv4header.txt
test/CMakeLists.test_icmpv6header.txt