以下是在文件:/ns-allinone-2.34/ns-2.34/autoconf-win32.h,中65行
typedef char int8_t;
typedef unsigned char int8_t;
typedef short int16_t;
typedef unsigned short u_int16_t;
typedef int int32_t;
typedef unsigned int u_int32_t;
typedef __int64 int64_t;
typedef unsigned __int64 u_int64_t;
以下是在文件:/ns-allinone-2.34/ns-2.34/config.h,中76行
typedef int32_t nsaddr_t;
typedef int32_t nsmask_t;
struct ns_addr_t {
int32_t addr_;
int32_t port_;
//以下可不用管
#ifdef __cplusplus
bool isEqual (ns_addr_t const &o) {
return ((addr_ == o.addr_) && (port_ == o.port_))?true:false;
}
#endif
};
typedef char int8_t;
typedef unsigned char int8_t;
typedef short int16_t;
typedef unsigned short u_int16_t;
typedef int int32_t;
typedef unsigned int u_int32_t;
typedef __int64 int64_t;
typedef unsigned __int64 u_int64_t;
以下是在文件:/ns-allinone-2.34/ns-2.34/config.h,中76行
typedef int32_t nsaddr_t;
typedef int32_t nsmask_t;
struct ns_addr_t {
//以下可不用管
#ifdef __cplusplus
#endif
};