\par Associated registries:
\ref IpTypes
+ \par Finalize action:
+ Set \a length from payload size\n
+ Set \a protocol from type of next packet if found in \ref IpTypes\n
+ Calculate \a checksum
+
\ingroup protocolbundle_default
*/
struct IpV4PacketType
: 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;
}