X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPackets%2FDefaultBundle%2FIPv6ExtOptionType.hh;h=b9b4a466aa4a7948e00f87d965dd07419c2bc045;hb=af697a0c8591b38f7ee7dbc3d1d0293f4ff72d37;hp=f1e8cc51ec562e8bf39546858ac793b025e4d25c;hpb=9e03cf6e4f35e548a2c384f76da4a1d76fca3fc5;p=senf.git diff --git a/senf/Packets/DefaultBundle/IPv6ExtOptionType.hh b/senf/Packets/DefaultBundle/IPv6ExtOptionType.hh index f1e8cc5..b9b4a46 100644 --- a/senf/Packets/DefaultBundle/IPv6ExtOptionType.hh +++ b/senf/Packets/DefaultBundle/IPv6ExtOptionType.hh @@ -33,7 +33,7 @@ ///////////////////////////////hh.p//////////////////////////////////////// namespace senf { - class OptTypeTLVPacketParser : public PacketParserBase + class IPv6OptionTLVParser : public PacketParserBase { public: # include SENF_PARSER() @@ -41,20 +41,21 @@ namespace senf { SENF_PARSER_BITFIELD (changeFlag, 1, unsigned); SENF_PARSER_BITFIELD (optionType, 5, unsigned); SENF_PARSER_FIELD (optionLength, UInt8Parser); - SENF_PARSER_FINALIZE (OptTypeTLVPacketParser); + SENF_PARSER_FINALIZE (IPv6OptionTLVParser); }; - struct GenericOptTypeTLVPacketParser : public OptTypeTLVPacketParser + + struct IPv6GenericOptionTLVParser : public IPv6OptionTLVParser { # include SENF_PARSER() - SENF_PARSER_INHERIT ( OptTypeTLVPacketParser ); + SENF_PARSER_INHERIT ( IPv6OptionTLVParser ); SENF_PARSER_SKIP ( optionLength(), 0 ); - SENF_PARSER_FINALIZE ( GenericOptTypeTLVPacketParser ); + SENF_PARSER_FINALIZE ( IPv6GenericOptionTLVParser ); senf::PacketInterpreterBase::range value() const; template - Parser& init(); + Parser init(); // template // Parser& get(); @@ -66,7 +67,6 @@ namespace senf { template void setPayload(ForwardReadableRange const &range); - }; } @@ -78,6 +78,7 @@ namespace senf { //#include "IPv6ExtOptionType.cti" #endif + // Local Variables: // mode: c++ // fill-column: 100