A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::Hash::Function::Fnv1aImplementation Namespace Reference

FNV hash implementation details. More...

Typedefs

typedef uint32_t Fnv32_t
 32 bit FNV-0 hash type
 
typedef uint64_t Fnv64_t
 64 bit FNV-0 hash
 

Enumerations

enum  fnv_type {
  FNV_NONE = 0 , FNV0_32 = 1 , FNV1_32 = 2 , FNV1a_32 = 3 ,
  FNV0_64 = 4 , FNV1_64 = 5 , FNV1a_64 = 6
}
 FNV hash types. More...
 

Functions

Fnv32_t fnv_32_buf (void *buf, size_t len, Fnv32_t hval)
 fnv_32a_buf - perform a 32 bit Fowler/Noll/Vo FNV-1a hash on a buffer
 
Fnv32_t fnv_32_str (char *str, Fnv32_t hval)
 fnv_32a_str - perform a 32 bit Fowler/Noll/Vo FNV-1a hash on a string
 
Fnv32_t fnv_32a_buf (void *buf, size_t len, Fnv32_t hval)
 fnv_32a_buf - perform a 32 bit Fowler/Noll/Vo FNV-1a hash on a buffer
 
Fnv32_t fnv_32a_str (char *str, Fnv32_t hval)
 fnv_32a_str - perform a 32 bit Fowler/Noll/Vo FNV-1a hash on a string
 
Fnv64_t fnv_64_buf (void *buf, size_t len, Fnv64_t hval)
 fnv_64a_buf - perform a 64 bit Fowler/Noll/Vo FNV-1a hash on a buffer
 
Fnv64_t fnv_64_str (char *str, Fnv64_t hval)
 fnv_64a_str - perform a 64 bit Fowler/Noll/Vo FNV-1a hash on a buffer
 
Fnv64_t fnv_64a_buf (void *buf, size_t len, Fnv64_t hval)
 fnv_64a_buf - perform a 64 bit Fowler/Noll/Vo FNV-1a hash on a buffer
 
Fnv64_t fnv_64a_str (char *str, Fnv64_t hval)
 fnv_64a_str - perform a 64 bit Fowler/Noll/Vo FNV-1a hash on a buffer
 

Detailed Description

FNV hash implementation details.