fehQlibs 26
Qlibs
|
random use of DNS resolvers given their IP More...
Go to the source code of this file.
Macros | |
#define | ROTATE(x, b) (((x) << (b)) | ((x) >> (32 - (b)))) |
#define | MUSH(i, b) x = t[i] += (((x ^ seed[i]) + sum) ^ ROTATE(x,b)); |
Functions | |
void | dns_random_init (const char data[128]) |
unsigned int | dns_random (unsigned int n) |
random use of DNS resolvers given their IP
Definition in file dns_random.c.
#define MUSH | ( | i, | |
b | |||
) | x = t[i] += (((x ^ seed[i]) + sum) ^ ROTATE(x,b)); |
Definition at line 19 of file dns_random.c.
#define ROTATE | ( | x, | |
b | |||
) | (((x) << (b)) | ((x) >> (32 - (b)))) |
Definition at line 18 of file dns_random.c.
unsigned int dns_random | ( | unsigned int | n | ) |
void dns_random_init | ( | const char | data[128] | ) |