A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::Hash::Function::Fnv1aImplementation Namespace Reference

Typedefs

typedef u_int32_t Fnv32_t
 
typedef u_int64_t Fnv64_t
 

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
}
 

Functions

Fnv32_t fnv_32_buf (void *buf, size_t len, Fnv32_t hashval)
 
Fnv32_t fnv_32_str (char *buf, Fnv32_t hashval)
 
Fnv32_t fnv_32a_buf (void *buf, size_t len, Fnv32_t hashval)
 
Fnv32_t fnv_32a_str (char *buf, Fnv32_t hashval)
 
Fnv64_t fnv_64_buf (void *buf, size_t len, Fnv64_t hashval)
 
Fnv64_t fnv_64_str (char *buf, Fnv64_t hashval)
 
Fnv64_t fnv_64a_buf (void *buf, size_t len, Fnv64_t hashval)
 
Fnv64_t fnv_64a_str (char *buf, Fnv64_t hashval)
 

Typedef Documentation

Definition at line 147 of file hash-fnv.cc.

Definition at line 191 of file hash-fnv.cc.

Enumeration Type Documentation

Enumerator
FNV_NONE 
FNV0_32 
FNV1_32 
FNV1a_32 
FNV0_64 
FNV1_64 
FNV1a_64 

Definition at line 241 of file hash-fnv.cc.

Function Documentation

Fnv32_t ns3::Hash::Function::Fnv1aImplementation::fnv_32_buf ( void *  buf,
size_t  len,
Fnv32_t  hashval 
)
Fnv32_t ns3::Hash::Function::Fnv1aImplementation::fnv_32_str ( char *  buf,
Fnv32_t  hashval 
)
Fnv32_t ns3::Hash::Function::Fnv1aImplementation::fnv_32a_buf ( void *  buf,
size_t  len,
Fnv32_t  hashval 
)

Definition at line 362 of file hash-fnv.cc.

References FNV_32_PRIME.

Referenced by ns3::Hash::Function::Fnv1a::GetHash32().

+ Here is the caller graph for this function:

Fnv32_t ns3::Hash::Function::Fnv1aImplementation::fnv_32a_str ( char *  buf,
Fnv32_t  hashval 
)

Definition at line 402 of file hash-fnv.cc.

References FNV_32_PRIME, and s.

Fnv64_t ns3::Hash::Function::Fnv1aImplementation::fnv_64_buf ( void *  buf,
size_t  len,
Fnv64_t  hashval 
)
Fnv64_t ns3::Hash::Function::Fnv1aImplementation::fnv_64_str ( char *  buf,
Fnv64_t  hashval 
)
Fnv64_t ns3::Hash::Function::Fnv1aImplementation::fnv_64a_buf ( void *  buf,
size_t  len,
Fnv64_t  hashval 
)

Definition at line 525 of file hash-fnv.cc.

References FNV_64_PRIME.

Referenced by ns3::Hash::Function::Fnv1a::GetHash64().

+ Here is the caller graph for this function:

Fnv64_t ns3::Hash::Function::Fnv1aImplementation::fnv_64a_str ( char *  buf,
Fnv64_t  hashval 
)

Definition at line 631 of file hash-fnv.cc.

References FNV_64_PRIME, and s.