diff --git a/src/core/model/hash-fnv.h b/src/core/model/hash-fnv.h index ee4487f88..d4c4d75e0 100644 --- a/src/core/model/hash-fnv.h +++ b/src/core/model/hash-fnv.h @@ -34,6 +34,15 @@ namespace Function { * * \brief Fnv1a hash function implementation * + * This is the venerable Fowler-Noll-Vo hash, version 1A. (See the + * FNV page.) + * + * The implementation here is taken directly from the published FNV + * + * reference code, + * with minor modifications to wrap into this class. See the + * hash-fnv.cc file for details. + * */ class Fnv1a : public Implementation { diff --git a/src/core/model/hash.h b/src/core/model/hash.h index 6fb1987fe..4ff9a82b4 100644 --- a/src/core/model/hash.h +++ b/src/core/model/hash.h @@ -207,7 +207,7 @@ Hash64_t Hash64 (const std::string s); namespace ns3 { /************************************************* - class Hash implementation, inlined for rvo + class Hasher implementation, inlined for rvo */ inline