#include <unistd.h>
#include <errno.h>
#include "dtn_api.h"
#include "TcaController.h"
Go to the source code of this file.
Functions | |
bool | make_spec (dtn_bundle_spec_t &spec, std::string source, std::string dest, std::string replyto, int expiration, dtn_bundle_priority_t priority=COS_NORMAL, dtn_bundle_delivery_opts_t dopts=DOPTS_NONE) |
static bool | check_nargs (const TcaControlBundle &cb, uint n_expected) |
Variables | |
static const int | debug = 1 |
static const int | RECV_TIMEOUT = 30000 |
static const u_int32_t | REG_EXPIRATION_TIME = 2000000 |
static bool check_nargs | ( | const TcaControlBundle & | cb, | |
uint | n_expected | |||
) | [static] |
Definition at line 113 of file TcaController.cc.
References TcaControlBundle::args_, and TcaControlBundle::str().
Referenced by TcaController::handle_link_announce(), and TcaController::route_reg().
bool make_spec | ( | dtn_bundle_spec_t & | spec, | |
std::string | source, | |||
std::string | dest, | |||
std::string | replyto, | |||
int | expiration, | |||
dtn_bundle_priority_t | priority = COS_NORMAL , |
|||
dtn_bundle_delivery_opts_t | dopts = DOPTS_NONE | |||
) |
Definition at line 72 of file TcaController.cc.
References dtn_parse_eid_string().
Referenced by TcaController::gate_reg().
const int debug = 1 [static] |
Definition at line 51 of file TcaController.cc.
const int RECV_TIMEOUT = 30000 [static] |
const u_int32_t REG_EXPIRATION_TIME = 2000000 [static] |