#include "bidirectional_stream_copy.hh"
#include "tcp_config.hh"
#include "tcp_sponge_socket.hh"
#include "tun.hh"
#include <cstdint>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <random>
#include <string>
#include <tuple>
Go to the source code of this file.
◆ check_argc()
static void check_argc |
( |
int |
argc, |
|
|
char ** |
argv, |
|
|
int |
curr, |
|
|
const char * |
err |
|
) |
| |
|
static |
◆ get_config()
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ show_usage()
static void show_usage |
( |
const char * |
argv0, |
|
|
const char * |
msg |
|
) |
| |
|
static |
◆ GATEWAY_DFLT
const string GATEWAY_DFLT = "169.254.10.1" |
◆ LOCAL_ADDRESS_DFLT
const string LOCAL_ADDRESS_DFLT = "169.254.10.9" |
◆ TAP_DFLT
constexpr const char* TAP_DFLT = "tap10" |
|
constexpr |