#include <IPConvergenceLayer.h>
Inheritance diagram for dtn::IPConvergenceLayer:
Definition at line 33 of file IPConvergenceLayer.h.
Protected Member Functions | |
IPConvergenceLayer (const char *classname, const char *name) | |
Constructor. | |
bool | parse_nexthop (const char *nexthop, in_addr_t *addr, u_int16_t *port) |
Parse a next hop address specification of the form HOST[:PORT?]. |
dtn::IPConvergenceLayer::IPConvergenceLayer | ( | const char * | classname, | |
const char * | name | |||
) | [inline, protected] |
bool dtn::IPConvergenceLayer::parse_nexthop | ( | const char * | nexthop, | |
in_addr_t * | addr, | |||
u_int16_t * | port | |||
) | [protected] |
Parse a next hop address specification of the form HOST[:PORT?].
Definition at line 30 of file IPConvergenceLayer.cc.
References oasys::gethostbyname(), INADDR_NONE, and log_warn.
Referenced by dtn::UDPConvergenceLayer::init_link(), and dtn::UDPConvergenceLayer::open_contact().