X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Packets%2FDefaultBundle%2FICMPv6TypePacket.hh;h=7196f4fdc2f4a6d89b18c4df5717184e3e24a4df;hb=1ac8479aaaa1491e2668c6f09d042ae9de1f2113;hp=874190902cae2f6770e413aed08f4b525cae0628;hpb=962f88fbbfc6f4da1502088dfa94273e7fbd3c80;p=senf.git diff --git a/Packets/DefaultBundle/ICMPv6TypePacket.hh b/Packets/DefaultBundle/ICMPv6TypePacket.hh index 8741909..7196f4f 100644 --- a/Packets/DefaultBundle/ICMPv6TypePacket.hh +++ b/Packets/DefaultBundle/ICMPv6TypePacket.hh @@ -43,6 +43,17 @@ namespace senf { SENF_PARSER_FINALIZE ( ICMPv6EchoRequestParser ); }; + /** \brief ICMPv6 Echo Request + + \par Packet type (typedef): + \ref ICMPv6EchoRequest + + \par Fields: + \ref ICMPv6EchoRequestParser + \image html ICMPv6EchoRequest.png + + \ingroup protocolbundle_default + */ struct ICMPv6EchoRequestType : public PacketTypeBase, public PacketTypeMixin @@ -70,6 +81,17 @@ namespace senf { SENF_PARSER_FINALIZE ( ICMPv6EchoReplyParser ); }; + /** \brief ICMPv6 Echo Reply + + \par Packet type (typedef): + \ref ICMPv6EchoReply + + \par Fields: + \ref ICMPv6EchoReplyParser + \image html ICMPv6EchoReply.png + + \ingroup protocolbundle_default + */ struct ICMPv6EchoReplyType : public PacketTypeBase, public PacketTypeMixin @@ -114,6 +136,17 @@ namespace senf { SENF_PARSER_FINALIZE ( ICMPv6ErrDestUnreachableParser ); }; + /** \brief ICMPv6 Destination unreachable + + \par Packet type (typedef): + \ref ICMPv6ErrDestUnreachable + + \par Fields: + \ref ICMPv6ErrDestUnreachableParser + \image html ICMPv6ErrDestUnreachable.png + + \ingroup protocolbundle_default + */ struct ICMPv6ErrDestUnreachableType : public PacketTypeBase, public PacketTypeMixin @@ -139,13 +172,24 @@ namespace senf { /* Code static set to 0 */ // SENF_PARSER_INIT() { - // ICMPv6Packet icmpv6 (senf::Packet().rfind(senf::nothrow)); + // ICMPv6Packet icmpv6 (packet().rfind(senf::nothrow)); // icmpv6->code() = 0; // } SENF_PARSER_FINALIZE ( ICMPv6ErrTooBigParser ); }; + /** \brief ICMPv6 Packet to big + + \par Packet type (typedef): + \ref ICMPv6ErrTooBig + + \par Fields: + \ref ICMPv6ErrTooBigParser + \image html ICMPv6ErrTooBig.png + + \ingroup protocolbundle_default + */ struct ICMPv6ErrTooBigType : public PacketTypeBase, public PacketTypeMixin @@ -172,13 +216,24 @@ namespace senf { /* Code 0 - Hop limit exceeded in transit 1 - Fragment reassembly time exceeded */ void setErrCode(int code){ - ICMPv6Packet icmpv6 (senf::Packet().rfind(senf::nothrow)); + ICMPv6Packet icmpv6 (packet().rfind(senf::nothrow)); icmpv6->code() = code; } SENF_PARSER_FINALIZE ( ICMPv6ErrTimeExceededParser ); }; + /** \brief ICMPv6 Time exceeded + + \par Packet type (typedef): + \ref ICMPv6ErrTimeExceeded + + \par Fields: + \ref ICMPv6ErrTimeExceededParser + \image html ICMPv6ErrTimeExceeded.png + + \ingroup protocolbundle_default + */ struct ICMPv6ErrTimeExceededType : public PacketTypeBase, public PacketTypeMixin @@ -206,12 +261,23 @@ namespace senf { 2 - Unrecognized IPv6 option encountered */ void setErrCode(int code){ - ICMPv6Packet icmpv6 (senf::Packet().rfind(senf::nothrow)); + ICMPv6Packet icmpv6 (packet().rfind(senf::nothrow)); icmpv6->code() = code; } SENF_PARSER_FINALIZE ( ICMPv6ErrParamProblemParser ); }; + /** \brief ICMPv6 Parameter problem + + \par Packet type (typedef): + \ref ICMPv6ErrParamProblem + + \par Fields: + \ref ICMPv6ErrParamProblemParser + \image html ICMPv6ErrParamProblem.png + + \ingroup protocolbundle_default + */ struct ICMPv6ErrParamProblemType : public PacketTypeBase, public PacketTypeMixin @@ -260,6 +326,17 @@ namespace senf { } }; + /** \brief MLDv2 Listener query + + \par Packet type (typedef): + \ref MLDv2ListenerQuery + + \par Fields: + \ref MLDv2ListenerQueryParser + \image html MLDv2ListenerQuery.png + + \ingroup protocolbundle_default + */ struct MLDv2ListenerQueryType : public PacketTypeBase, public PacketTypeMixin @@ -308,6 +385,18 @@ namespace senf { } }; + /** \brief MLDv2 Listener report + + \par Packet type (typedef): + \ref MLDv2ListenerReport + + \par Fields: + \ref MLDv2ListenerReportParser + \image html MLDv2ListenerReport.png + \image html MLDv2AddressRecord.png + + \ingroup protocolbundle_default + */ struct MLDv2ListenerReportType : public PacketTypeBase, public PacketTypeMixin @@ -325,3 +414,14 @@ namespace senf { } #endif + + +// Local Variables: +// mode: c++ +// fill-column: 100 +// c-file-style: "senf" +// indent-tabs-mode: nil +// ispell-local-dictionary: "american" +// compile-command: "scons -u test" +// comment-column: 40 +// End: