dtn::IPConvergenceLayerUtils Class Reference

#include <IPConvergenceLayerUtils.h>

List of all members.


Detailed Description

Utility class for shared functionality between ip-based convergence layers.

Definition at line 33 of file IPConvergenceLayerUtils.h.


Static Public Member Functions

static bool parse_nexthop (const char *logpath, const char *nexthop, in_addr_t *addr, u_int16_t *port)
 Parse a next hop address specification of the form <host>[:<port>?].

Member Function Documentation

bool dtn::IPConvergenceLayerUtils::parse_nexthop ( const char *  logpath,
const char *  nexthop,
in_addr_t *  addr,
u_int16_t *  port 
) [static]

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 IPConvergenceLayerUtils.cc.

References oasys::gethostbyname(), INADDR_NONE, and log_warn_p.

Referenced by dtn::IPAnnounce::handle_neighbor_discovered(), and dtn::TCPConvergenceLayer::parse_nexthop().


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