ABY Framework
1.0
Arithmetic Bool Yao Framework
|
BGP Test implementation. More...
#include "../../abycore/util/crypto/crypto.h"
#include "../../abycore/util/parse_options.h"
#include "../../abycore/aby/abyparty.h"
#include "common/bgp.h"
Functions | |
int32_t | read_test_options (int32_t *argcp, char ***argvp, e_role *role, uint32_t *bitlen, uint32_t *secparam, string *address, uint16_t *port, int32_t *test_op, string *caida) |
void | IDmapping (const char *filename, vector< uint32_t > &outerIDs, map< uint32_t, uint32_t > &innerIDs) |
map< uint32_t, vector< uint32_t > > | ReadTopology (const char *filename, map< uint32_t, uint32_t > &innerIDs) |
map< uint32_t, map< uint32_t, unsigned char > > | ReadRelations (const char *filename, map< uint32_t, uint32_t > &innerIDs) |
int | main (int argc, char **argv) |
Variables | |
string | rels [] = { "pe", "cu", "pr" } |
BGP Test implementation.
void IDmapping | ( | const char * | filename, |
vector< uint32_t > & | outerIDs, | ||
map< uint32_t, uint32_t > & | innerIDs | ||
) |
filename | the caida topology file to parse |
outerIDs | the mapping from inner to outer IDs |
innerIDs | the mapping from outer to inner IDs |