#include <stdio.h>#include <unistd.h>#include <errno.h>#include <strings.h>#include <stdlib.h>#include <sys/time.h>#include <time.h>#include <sys/socket.h>#include "dtn_api.h"#include "APIEndpointIDOpt.h"#include <oasys/io/NetUtils.h>#include <oasys/util/Getopt.h>#include <oasys/util/StringBuffer.h>#include <oasys/util/StringUtils.h>#include "DTNTunnel.h"#include <sys/types.h>#include <netinet/in.h>#include <netdb.h>#include <APIBundleQueue.h>#include <oasys/debug/Log.h>#include <oasys/thread/Mutex.h>#include <oasys/util/App.h>#include <oasys/util/Singleton.h>#include <map>#include <oasys/io/TCPClient.h>#include <oasys/io/TCPServer.h>#include <oasys/thread/MsgQueue.h>#include <oasys/thread/Thread.h>#include <oasys/util/ExpandableBuffer.h>#include <oasys/io/UDPClient.h>#include "IPTunnel.h"Go to the source code of this file.
Namespaces | |
| namespace | dtntunnel |
Defines | |
| #define | CHECK_OPT(_condition, _err) |
Functions | |
| int | main (int argc, char **argv) |
| #define CHECK_OPT | ( | _condition, | |||
| _err | ) |
if ((_condition)) { \ fprintf(stderr, "error: " _err "\n"); \ print_usage_and_exit(); \ }
Referenced by dtntunnel::DTNTunnel::validate_options().
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Definition at line 428 of file DTNTunnel.cc.
1.6.3