X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPackets%2FDefaultBundle%2FIPv6Extensions.hh;h=b08ca4b18ecd294c25ca28b56f09aad7cc75b7b6;hb=943a0081e419e87e958889eb630f09180a9c196c;hp=1b9a1ef28804ff301ae3927d22aba776b0b266a6;hpb=9e03cf6e4f35e548a2c384f76da4a1d76fca3fc5;p=senf.git
diff --git a/senf/Packets/DefaultBundle/IPv6Extensions.hh b/senf/Packets/DefaultBundle/IPv6Extensions.hh
index 1b9a1ef..b08ca4b 100644
--- a/senf/Packets/DefaultBundle/IPv6Extensions.hh
+++ b/senf/Packets/DefaultBundle/IPv6Extensions.hh
@@ -46,7 +46,7 @@ namespace senf {
\see IPv6ExtensionType_Fragment \n
RFC 2460
*/
- struct IPv6PacketParserExtension_Fragment : public PacketParserBase
+ struct IPv6FragmentPacketParser : public PacketParserBase
{
# include SENF_FIXED_PARSER()
@@ -57,7 +57,7 @@ namespace senf {
SENF_PARSER_BITFIELD ( moreFragments , 1, bool );
SENF_PARSER_FIELD ( id , UInt32Parser );
- SENF_PARSER_FINALIZE(IPv6PacketParserExtension_Fragment);
+ SENF_PARSER_FINALIZE(IPv6FragmentPacketParser);
};
/** \brief IPv6 fragment extension
@@ -76,17 +76,17 @@ namespace senf {
\ingroup protocolbundle_default
*/
- struct IPv6ExtensionType_Fragment
+ struct IPv6FragmentType
: public PacketTypeBase,
- public PacketTypeMixin
+ public PacketTypeMixin
{
#ifndef DOXYGEN
- typedef PacketTypeMixin mixin;
+ typedef PacketTypeMixin mixin;
#endif
/** \brief IPv6 fragment extension packet typedef */
- typedef ConcretePacket packet;
+ typedef ConcretePacket packet;
/** \brief typedef to the parser of IPv6 fragment extension packet */
- typedef IPv6PacketParserExtension_Fragment parser;
+ typedef IPv6FragmentPacketParser parser;
using mixin::nextPacketRange;
using mixin::nextPacketType;
@@ -104,7 +104,7 @@ namespace senf {
};
/** \brief IPv6 fragment extension packet typedef */
- typedef ConcretePacket IPv6Extension_Fragment;
+ typedef ConcretePacket IPv6Fragment;
// =====================================================================================================
@@ -118,7 +118,7 @@ namespace senf {
*/
//Routing Header Extension (type 0 only)
- struct IPv6PacketParserExtension_Routing : public PacketParserBase
+ struct IPv6PRoutingPacketParser : public PacketParserBase
{
/*
The Type 0 Routing header has the following format: (RFC 2460)
@@ -159,7 +159,7 @@ The Type 0 Routing header has the following format: (RFC 2460)
SENF_PARSER_FIELD ( reserved, UInt32Parser ); //set to zero by RFC
SENF_PARSER_VECTOR ( hopAddresses, segmentsLeft, INet6AddressParser );
- SENF_PARSER_FINALIZE ( IPv6PacketParserExtension_Routing );
+ SENF_PARSER_FINALIZE ( IPv6PRoutingPacketParser );
//provisionary, since only type 0 is implemented
SENF_PARSER_INIT() {
@@ -185,17 +185,17 @@ The Type 0 Routing header has the following format: (RFC 2460)
\ingroup protocolbundle_default
*/
- struct IPv6ExtensionType_Routing
+ struct IPv6RoutingType
: public PacketTypeBase,
- public PacketTypeMixin
+ public PacketTypeMixin
{
#ifndef DOXYGEN
- typedef PacketTypeMixin mixin;
+ typedef PacketTypeMixin mixin;
#endif
/** \brief IPv6 routing extension packet typedef */
- typedef ConcretePacket packet;
+ typedef ConcretePacket packet;
/** \brief typedef to the parser of IPv6 routing extension packet */
- typedef IPv6PacketParserExtension_Routing parser;
+ typedef IPv6PRoutingPacketParser parser;
using mixin::nextPacketRange;
using mixin::nextPacketType;
@@ -212,7 +212,7 @@ The Type 0 Routing header has the following format: (RFC 2460)
};
/** \brief IPv6 routing extension packet typedef */
- typedef ConcretePacket IPv6Extension_Routing;
+ typedef ConcretePacket IPv6Routing;
// =====================================================================================================
@@ -228,18 +228,18 @@ The Type 0 Routing header has the following format: (RFC 2460)
// Hop-By-Hop Extension Header
- struct IPv6PacketParserExtension_HopByHop : public PacketParserBase {
+ struct IPv6HopByHopPacketParser : public PacketParserBase {
# include SENF_PARSER()
SENF_PARSER_FIELD ( nextHeader, UInt8Parser );
SENF_PARSER_FIELD ( headerLength, UInt8Parser );
typedef detail::FixedAuxParserPolicy ListOptionTypeAuxPolicy;
- typedef detail::ListOptionTypeParser_Policy ListOptionTypePolicy;
+ typedef detail::ListOptionTypeParser_Policy ListOptionTypePolicy;
typedef ListParser ListOptionTypeParser;
SENF_PARSER_FIELD ( options, ListOptionTypeParser);
- SENF_PARSER_FINALIZE ( IPv6PacketParserExtension_HopByHop );
+ SENF_PARSER_FINALIZE ( IPv6HopByHopPacketParser );
};
/** \brief IPv6 Hop-By-Hop extension
@@ -259,17 +259,17 @@ The Type 0 Routing header has the following format: (RFC 2460)
\ingroup protocolbundle_default
*/
- struct IPv6ExtensionType_HopByHop
+ struct IPv6HopByHopType
: public PacketTypeBase,
- public PacketTypeMixin
+ public PacketTypeMixin
{
#ifndef DOXYGEN
- typedef PacketTypeMixin mixin;
+ typedef PacketTypeMixin mixin;
#endif
/** \brief IPv6 Hop-By-Hop extension packet typedef */
- typedef ConcretePacket packet;
+ typedef ConcretePacket packet;
/** \brief typedef to the parser of IPv6 Hop-By-Hop extension packet */
- typedef IPv6PacketParserExtension_HopByHop parser;
+ typedef IPv6HopByHopPacketParser parser;
using mixin::nextPacketRange;
using mixin::nextPacketType;
@@ -286,7 +286,7 @@ The Type 0 Routing header has the following format: (RFC 2460)
};
/** \brief IPv6 routing Hop-By-Hop packet typedef */
- typedef ConcretePacket IPv6Extension_HopByHop;
+ typedef ConcretePacket IPv6HopByHop;
// =====================================================================================================
@@ -301,13 +301,13 @@ The Type 0 Routing header has the following format: (RFC 2460)
// Destination Options skeleton without TLV-Options
- struct IPv6PacketParserExtension_Destination : public PacketParserBase {
+ struct IPv6DestinationPacketParser : public PacketParserBase {
# include SENF_PARSER()
SENF_PARSER_FIELD ( nextHeader, UInt8Parser );
SENF_PARSER_FIELD ( headerLength, UInt8Parser );
- SENF_PARSER_FINALIZE ( IPv6PacketParserExtension_Destination );
+ SENF_PARSER_FINALIZE ( IPv6DestinationPacketParser );
};
/** \brief IPv6 Destination Options extension
@@ -327,17 +327,17 @@ The Type 0 Routing header has the following format: (RFC 2460)
\ingroup protocolbundle_default
*/
- struct IPv6ExtensionType_Destination
+ struct IPv6DestinationType
: public PacketTypeBase,
- public PacketTypeMixin
+ public PacketTypeMixin
{
#ifndef DOXYGEN
- typedef PacketTypeMixin mixin;
+ typedef PacketTypeMixin mixin;
#endif
/** \brief IPv6 Destination Options extension packet typedef */
- typedef ConcretePacket packet;
+ typedef ConcretePacket packet;
/** \brief typedef to the parser of IPv6 Destination Options extension packet */
- typedef IPv6PacketParserExtension_Destination parser;
+ typedef IPv6DestinationPacketParser parser;
using mixin::nextPacketRange;
using mixin::nextPacketType;
@@ -354,7 +354,7 @@ The Type 0 Routing header has the following format: (RFC 2460)
};
/** \brief IPv6 routing Destination Options packet typedef */
- typedef ConcretePacket IPv6Extension_Destination;
+ typedef ConcretePacket IPv6Destination;
} //namespace senf