Utility class for shared functionality between ip-based convergence layers. More...
#include <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>?]. |
Utility class for shared functionality between ip-based convergence layers.
Definition at line 33 of file IPConvergenceLayerUtils.h.
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?].
Definition at line 32 of file IPConvergenceLayerUtils.cc.
Referenced by dtn::TCPConvergenceLayer::parse_nexthop().