namespace senf {
/** \brief Parse a LLC/SNAP header
-
+
\image html LlcSnapPacket.png
\todo document me
*/
SENF_PARSER_FIELD( type_length, UInt16Parser );
SENF_PARSER_FINALIZE(LlcSnapPacketParser);
-
+
SENF_PARSER_INIT() {
dsap() = 0xaa;
ssap() = 0xaa;
\ingroup protocolbundle_default
*/
struct LlcSnapPacketType
- : public PacketTypeBase,
+ : public PacketTypeBase,
public PacketTypeMixin<LlcSnapPacketType, EtherTypes>
{
#ifndef DOXYGEN
using mixin::nextPacketRange;
using mixin::initSize;
using mixin::init;
-
+
static factory_t nextPacketType(packet p);
/** \brief Dump given LlcSnapPacket in readable form to given output stream */
- static void dump(packet p, std::ostream & os);
+ static void dump(packet p, std::ostream & os);
static void finalize(packet p);
};