17 #ifndef HH_SENF_Utils_IpChecksum_ 18 #define HH_SENF_Utils_IpChecksum_ 1 21 #include <boost/cstdint.hpp> 57 template <
class InputIterator>
58 void feed(InputIterator b, InputIterator e);
61 boost::uint16_t
sum()
const;
boost::uint16_t sum() const
Calculate checksum.
Calculate TCP/IP 16bit checksum value.
void feed(boost::uint8_t byte)
Feed single byte.