dtn::IPConvergenceLayer Class Reference

#include <IPConvergenceLayer.h>

Inheritance diagram for dtn::IPConvergenceLayer:

dtn::ConvergenceLayer oasys::Logger dtn::UDPConvergenceLayer

List of all members.


Detailed Description

Base class for shared functionality between the TCP and UDP convergence layers (currently none).

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>?].

Constructor & Destructor Documentation

dtn::IPConvergenceLayer::IPConvergenceLayer ( const char *  classname,
const char *  name 
) [inline, protected]

Constructor.

Definition at line 38 of file IPConvergenceLayer.h.


Member Function Documentation

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?].

Returns:
true if the conversion was successful, false

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().


The documentation for this class was generated from the following files:
Generated on Sat Sep 8 08:36:22 2007 for DTN Reference Implementation by  doxygen 1.5.3