: public PacketTypeBase,
public PacketTypeMixin<EthernetPacketType, EtherTypes>
{
+#ifndef DOXYGEN
typedef PacketTypeMixin<EthernetPacketType, EtherTypes> mixin;
typedef ConcretePacket<EthernetPacketType> packet;
typedef Parse_Ethernet parser;
-
+#endif
using mixin::nextPacketRange;
using mixin::nextPacketType;
using mixin::initSize;
};
/** \brief Ethernet packet typedef */
- typedef EthernetPacketType::packet EthernetPacket;
+ typedef ConcretePacket<EthernetPacketType> EthernetPacket;
/** \brief Parse an ethernet VLAN tag
: public PacketTypeBase,
public PacketTypeMixin<EthVLanPacketType, EtherTypes>
{
+#ifndef DOXYGEN
typedef PacketTypeMixin<EthVLanPacketType, EtherTypes> mixin;
typedef ConcretePacket<EthVLanPacketType> packet;
typedef Parse_EthVLan parser;
-
+#endif
using mixin::nextPacketRange;
using mixin::nextPacketType;
using mixin::initSize;
};
/** \brief Ethernet VLAN tag typedef */
- typedef EthVLanPacketType::packet EthVLanPacket;
+ typedef ConcretePacket<EthVLanPacketType> EthVLanPacket;
}
: public PacketTypeBase,
public PacketTypeMixin<IpV4PacketType, IpTypes>
{
+#ifndef DOXYGEN
typedef PacketTypeMixin<IpV4PacketType, IpTypes> mixin;
typedef ConcretePacket<IpV4PacketType> packet;
typedef Parse_IpV4 parser;
-
+#endif
using mixin::nextPacketRange;
using mixin::nextPacketType;
using mixin::initSize;
};
/** \brief IpV4 packet typedef */
- typedef IpV4PacketType::packet IpV4Packet;
+ typedef ConcretePacket<IpV4PacketType> IpV4Packet;
}
: public PacketTypeBase,
public PacketTypeMixin<IpV6ExtensionType_Fragment, IpTypes>
{
+#ifndef DOXYGEN
typedef PacketTypeMixin<IpV6ExtensionType_Fragment, IpTypes> mixin;
typedef ConcretePacket<IpV6ExtensionType_Fragment> packet;
typedef Parse_IpV6Extension_Fragment parser;
-
+#endif
using mixin::nextPacketRange;
using mixin::nextPacketType;
using mixin::initSize;
};
/** \brief IpV6 fragment extension packet typedef */
- typedef IpV6ExtensionType_Fragment::packet IpV6Extension_Fragment;
+ typedef ConcretePacket<IpV6ExtensionType_Fragment> IpV6Extension_Fragment;
}
///////////////////////////////hh.e////////////////////////////////////////
: public PacketTypeBase,
public PacketTypeMixin<IpV6PacketType, IpTypes>
{
+#ifndef DOXYGEN
typedef PacketTypeMixin<IpV6PacketType, IpTypes> mixin;
typedef ConcretePacket<IpV6PacketType> packet;
typedef Parse_IpV6 parser;
-
+#endif
using mixin::nextPacketRange;
using mixin::nextPacketType;
using mixin::initSize;
};
/** \brief IpV6 packet typedef */
- typedef IpV6PacketType::packet IpV6Packet;
+ typedef ConcretePacket<IpV6PacketType> IpV6Packet;
///@}
}
: public PacketTypeBase,
public PacketTypeMixin<UDPPacketType>
{
+#ifndef DOXYGEN
typedef PacketTypeMixin<UDPPacketType> mixin;
typedef ConcretePacket<UDPPacketType> packet;
typedef Parse_UDP parser;
-
+#endif
using mixin::nextPacketRange;
using mixin::initSize;
using mixin::init;
};
/** \brief UDP packet typedef */
- typedef UDPPacketType::packet UDPPacket;
+ typedef ConcretePacket<UDPPacketType> UDPPacket;
}
struct TLVPacketType
: public PacketTypeBase
{
+#ifndef DOXYGEN
typedef ConcretePacket<TLVPacketType<LengthParser> > packet;
typedef Parse_TLVPacket<LengthParser> parser;
-
+#endif
static optional_range nextPacketRange(packet p);
static size_type initSize();
typedef TLVPacketType<Parse_TLVPacketLength>::packet TLVPacket;
- typedef TLVPacketType<Parse_UInt8>::packet TLVFix8Packet;
- typedef TLVPacketType<Parse_UInt16>::packet TLVFix16Packet;
- typedef TLVPacketType<Parse_UInt24>::packet TLVFix24Packet;
- typedef TLVPacketType<Parse_UInt32>::packet TLVFix32Packet;
+ typedef ConcretePacket<TLVPacketType<Parse_UInt8> > TLVFix8Packet;
+ typedef ConcretePacket<TLVPacketType<Parse_UInt16> > TLVFix16Packet;
+ typedef ConcretePacket<TLVPacketType<Parse_UInt24> > TLVFix24Packet;
+ typedef ConcretePacket<TLVPacketType<Parse_UInt32> > TLVFix32Packet;
}