#include <omnetpp.h>
#include "OverlayKey.h"
#include <gmp.h>
#include <stdint.h>
#include <OverlayKey.h>
#include <ProxNodeHandle.h>
#include <BinaryValue.h>
#include <memory.h>
#include <stdio.h>
#include <string.h>
Go to the source code of this file.
Defines | |
#define | GMP_TYPE unsigned long int |
Functions | |
std::ostream & | operator<< (std::ostream &os, const OverlayKey &c) |
void | omnet_random (mp_limb_t *r1p, mp_size_t r1n) |
replacement function for mpn_random() using omnet's rng | |
Variables | |
const char * | HEX = "0123456789abcdef" |
Definition in file OverlayKey.cc.
#define GMP_TYPE unsigned long int |
Definition at line 840 of file OverlayKey.cc.
Referenced by OverlayKey::netPack(), and OverlayKey::netUnpack().
void omnet_random | ( | mp_limb_t * | r1p, | |
mp_size_t | r1n | |||
) | [inline] |
replacement function for mpn_random() using omnet's rng
Definition at line 824 of file OverlayKey.cc.
Referenced by OverlayKey::random(), OverlayKey::randomPrefix(), and OverlayKey::randomSuffix().
std::ostream& operator<< | ( | std::ostream & | os, | |
const OverlayKey & | c | |||
) |
Definition at line 621 of file OverlayKey.cc.
00622 { 00623 os << c.toString(16); 00624 return os; 00625 };
const char* HEX = "0123456789abcdef" |
Definition at line 60 of file OverlayKey.cc.