#define HH_SENF_Packets_DefaultBundle_ICMPv6Packet_ 1
// Custom includes
-#include "../../Packets/Packets.hh"
+#include <senf/Packets/Packets.hh>
//#include "ICMPv6Packet.mpp"
///////////////////////////////hh.p////////////////////////////////////////
struct ICMPTypes {
// ICMP type registry
- typedef boost::uint16_t key_t;
+ typedef boost::uint8_t key_t;
};
/** \brief ICMP Packet for IPv6
}
static void finalize(packet p) {
- p->checksum() << p->calcChecksum();
p->type() << key(p.next(senf::nothrow));
+ p->checksum() << p->calcChecksum();
}
};