#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 "TCPTunnel.h"
#include "UDPTunnel.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 | ) |
Value:
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.5.6