git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1787
270642c3-0616-0410-b53a-bc976706d245
#define prefix_
//-/////////////////////////////////////////////////////////////////////////////////////////////////
-SENF_PACKET_REGISTRY_REGISTER( senf::EtherTypes, 0x8917, senf::MIHPacket);
+SENF_PACKET_REGISTRY_REGISTER( senf::EtherTypes, senf::MIHPacketType::etherType, senf::MIHPacket);
//-/////////////////////////////////////////////////////////////////////////////////////////////////
static void finalize(packet p);
static factory_t nextPacketType(packet p);
static void validate(packet p);
+
+ static const boost::uint16_t etherType = 0x8917;
};
/** \brief MIH packet typedef
: senf::Exception("MIHTLVLengthException") {}
};
- struct InvalidMIHPacketException : public senf::Exception {
+ struct InvalidMIHPacketException : public senf::Exception
+ {
InvalidMIHPacketException(std::string const & description)
: senf::Exception("Invalid MIH message: ") { append(description); }
};