ABY Framework  1.0
Arithmetic Bool Yao Framework
 All Classes Files Functions Variables Enumerations Enumerator Macros
Functions | Variables
bgp_test.cpp File Reference

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"
Include dependency graph for bgp_test.cpp:

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" }
 

Detailed Description

BGP Test implementation.

Author
danie.nosp@m.l.de.nosp@m.mmler.nosp@m.@ec-.nosp@m.sprid.nosp@m.e.de

Function Documentation

void IDmapping ( const char *  filename,
vector< uint32_t > &  outerIDs,
map< uint32_t, uint32_t > &  innerIDs 
)
Parameters
filenamethe caida topology file to parse
outerIDsthe mapping from inner to outer IDs
innerIDsthe mapping from outer to inner IDs