17 #ifndef HH_SENF_Packets_DefaultBundle_Registries_ 18 #define HH_SENF_Packets_DefaultBundle_Registries_ 1 41 static key_t
type(boost::uint32_t oui, boost::uint16_t extType) {
42 return (boost::uint64_t(oui & 0x00ffffff) << 16) | extType;
44 static boost::uint32_t
oui(key_t key) {
45 return boost::uint32_t( key >> 16);
48 return boost::uint16_t( key);
static boost::uint32_t oui(key_t key)
static boost::uint16_t ext_type(key_t key)
IP protocol number registry.
static key_t type(boost::uint32_t oui, boost::uint16_t extType)