31 boost::prior(
data().end(), 4),
50 if (p->type() < 1536) {
53 if (e) f = e->factory();
58 if (e) f = e->factory();
74 boost::prior(p.
data().
end(), 4));
boost::crc_optimal< 32, 0x04C11DB7, 0xFFFFFFFF, 0, false, false > ule_crc32
static PacketParserBase::size_type initHeadSize()
std::string fieldName(std::string const &s)
static PacketParserBase::size_type initSize()
static void init(packet p)
iterator begin() const
Return iterator to beginning.
SNDUPacket public header.
static optional_range nextPacketRange(packet p)
PacketData & data() const
Access the packets raw data container.
iterator end() const
Return iterator to end.
Protocol specific packet handle.
senf::detail::packet::size_type size_type
static void dump(packet p, std::ostream &os)
PacketInterpreterBase::range range
detail::PacketRegistryImpl< typename Tag::key_t >::Entry Entry
detail::packet::size_type size_type
Unsigned integral type.
boost::uint32_t calcCrc() const
size_type size() const
Returns the number of bytes in the packet data.
boost::optional< range > optional_range
PacketData & data() const
Access the packets raw data container.
Packet registration facility
static factory_t nextPacketType(packet p)
Factory const * factory_t