X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FIpChecksum.hh;h=d5b73dafa7d42acd6bc605c42ae9f9decd704ded;hb=5b2e9a63a43027c71ac470ac9bdecb72e8974951;hp=a8ea1ff2129efb7b599e55acc23d27f58fd530c1;hpb=601d1f509f5bb24df167a4dd5a20da67a0af9af8;p=senf.git diff --git a/senf/Utils/IpChecksum.hh b/senf/Utils/IpChecksum.hh index a8ea1ff..d5b73da 100644 --- a/senf/Utils/IpChecksum.hh +++ b/senf/Utils/IpChecksum.hh @@ -30,10 +30,10 @@ #include //#include "IpChecksum.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { - + /** \brief Calculate TCP/IP 16bit checksum value This class allows calculation of the 16bit checksum value as defined in the TCP/IP v4 @@ -49,17 +49,17 @@ namespace senf { class IpChecksum { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ IpChecksum(); - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// void feed(boost::uint8_t byte); ///< Feed single byte @@ -68,7 +68,7 @@ namespace senf { ///< Feed range of bytes boost::uint16_t sum() const; ///< Calculate checksum - + protected: private: @@ -76,10 +76,10 @@ namespace senf { bool odd_; }; - + } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "IpChecksum.cci" //#include "IpChecksum.ct" #include "IpChecksum.cti"