Base class for shared functionality between the TCP and UDP convergence layers (currently none). More...
#include <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>?]. |
Base class for shared functionality between the TCP and UDP convergence layers (currently none).
Definition at line 33 of file IPConvergenceLayer.h.
dtn::IPConvergenceLayer::IPConvergenceLayer | ( | const char * | classname, | |
const char * | name | |||
) | [inline, protected] |
Constructor.
Definition at line 38 of file IPConvergenceLayer.h.
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>?].
Parse a next hop address specification of the form HOST[:PORT?].
Definition at line 33 of file IPConvergenceLayer.cc.
Referenced by dtn::UDPConvergenceLayer::init_link(), and dtn::UDPConvergenceLayer::open_contact().