This gets us to the point of seemingly being able to wrap and unwrap IPv4

Remarkably hard to test this on a single computer
This commit is contained in:
Nick Thomas
2013-08-06 18:44:13 +01:00
parent 13090d3c75
commit dcb4e5ef28
7 changed files with 189 additions and 13 deletions

View File

@@ -22,7 +22,13 @@ struct session {
int same_if;
};
int session_setup( struct session *session, char *config_file, char *listen_if, char *output_if );
int session_setup( struct session *session, char *config_file, char *listen_if, char *output_if );
/* We take an array of 2n rlocs to upgrade. First element of each pair is
* IP address, second element of each pair is path to private key file
*/
int session_upgrade_rlocs( struct session *session, int argc, char** args );
void session_teardown( struct session *session );