00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef _IP_CONVERGENCE_LAYER_H_
00018 #define _IP_CONVERGENCE_LAYER_H_
00019
00020 #include <sys/types.h>
00021 #include <sys/socket.h>
00022 #include <netinet/in.h>
00023 #include <oasys/compat/inttypes.h>
00024
00025 #include "ConvergenceLayer.h"
00026
00027 namespace dtn {
00028
00033 class IPConvergenceLayer : public ConvergenceLayer {
00034 protected:
00038 IPConvergenceLayer(const char* classname, const char* name)
00039 : ConvergenceLayer(classname, name)
00040 {
00041 }
00042
00049 bool parse_nexthop(const char* nexthop,
00050 in_addr_t* addr, u_int16_t* port);
00051
00052 public:
00053 };
00054
00055 }
00056
00057 #endif