Classes | |
class | DnsSrvError |
class | GuessFromIdentityName |
Guessing home router based on the default identity name. More... | |
class | GuessFromSearchDomains |
Guessing home router based on DNS query with default suffix. More... | |
class | MulticastDiscovery |
multicast discovery stage More... | |
class | NdnFchDiscovery |
Discovery NDN hub using NDN-FCH protocol. More... | |
struct | Options |
class | Procedure |
class | Stage |
a discovery stage More... | |
Functions | |
static const Name | HUB_DISCOVERY_PREFIX ("/localhop/ndn-autoconf/hub") |
static const uint64_t | HUB_DISCOVERY_ROUTE_COST (1) |
static int | main (int argc, char **argv) |
static std::string | parseSrvRr (const QueryAnswer &queryAnswer, int answerSize) |
Parse SRV record. More... | |
std::string | querySrvRr (const std::string &fqdn) |
Send DNS SRV request for fqdn . More... | |
std::string | querySrvRrSearch () |
Send DNS SRV request using search domain list. More... | |
static void | runDaemon (Procedure &proc) |
static void | usage (std::ostream &os, const po::options_description &optionsDescription, const char *programName) |
Variables | |
static const time::nanoseconds | DAEMON_INITIAL_DELAY = time::milliseconds(100) |
static const time::nanoseconds | DAEMON_UNCONDITIONAL_INTERVAL = time::hours(1) |
static const time::nanoseconds | FACEURI_CANONIZE_TIMEOUT = time::seconds(4) |
static const time::milliseconds | HUB_DISCOVERY_INTEREST_LIFETIME = time::seconds(4) |
static const time::milliseconds | HUB_DISCOVERY_ROUTE_EXPIRATION = time::seconds(30) |
static const std::vector< Name > | HUB_PREFIXES {"/", "/localhop/nfd"} |
static const uint64_t | HUB_ROUTE_COST = 100 |
static const nfd::RouteOrigin | HUB_ROUTE_ORIGIN = nfd::ROUTE_ORIGIN_AUTOCONF |
static const time::nanoseconds | NETMON_DAMPEN_PERIOD = time::seconds(5) |
|
static |
|
static |
|
static |
|
static |
Parse SRV record.
DnsSrvError | if SRV record cannot be parsed |
Definition at line 54 of file dns-srv.cpp.
std::string ndn::tools::autoconfig::querySrvRr | ( | const std::string & | fqdn | ) |
Send DNS SRV request for fqdn
.
fqdn | a fully qualified domain name |
DnsSrvError | query returns nothing or SRV record cannot be parsed |
Definition at line 117 of file dns-srv.cpp.
std::string ndn::tools::autoconfig::querySrvRrSearch | ( | ) |
Send DNS SRV request using search domain list.
DnsSrvError | if query returns nothing or SRV record cannot be parsed |
Definition at line 144 of file dns-srv.cpp.
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 39 of file procedure.cpp.
|
static |
Definition at line 40 of file multicast-discovery.cpp.
|
static |
Definition at line 39 of file multicast-discovery.cpp.
|
static |
Definition at line 40 of file procedure.cpp.
|
static |
Definition at line 42 of file procedure.cpp.
|
static |
Definition at line 41 of file procedure.cpp.