changed logic of icmp package read/write and operator>> / operator<<
authorChristian Herdtweck <christian.herdtweck@intra2net.com>
Mon, 15 Dec 2014 14:30:51 +0000 (15:30 +0100)
committerChristian Herdtweck <christian.herdtweck@intra2net.com>
Thu, 18 Dec 2014 10:19:50 +0000 (11:19 +0100)
commit059138a5df5781255f5c8fdefd72fdf20b7c9538
tree9936d50c169abe6c970a293b3b4f0847ed632276
parent2c5550a01c00f626ae5c2a7bd8c8ac6de4c4a408
changed logic of icmp package read/write and operator>> / operator<<

* read and write are implemented on their own, >> and << call them
  (not the other way round as before)
* read returns not only a bool but a more informative flag
* moved operator>> and << from Icmpv4/6packet to base class IcmpPacket
  since they are identical
src/icmp/icmppacket.cpp
src/icmp/icmppacket.h
src/icmp/icmpv4packet.cpp
src/icmp/icmpv4packet.h
src/icmp/icmpv6packet.cpp
src/icmp/icmpv6packet.h