ns2 Network Simulator C++ Class Hierarchy of version ns-snapshot-20040722 | |
| Home | Source Code | Manual | FAQ | Mailing List Archive | Search | | | Download | |
#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include "config.h"
Defines | |
#define | NTOHL(d) ((d) = ntohl((d))) |
#define | NTOHS(d) ((d) = ntohs((d))) |
#define | HTONL(d) ((d) = htonl((d))) |
#define | HTONS(d) ((d) = htons((d))) |
#define | INADDR_LOOPBACK (u_int32_t)0x7F000001 |
Typedefs | |
typedef int | socklen_t |
Functions | |
char * | LookupHostName (u_int32_t addr) |
char * | InetNtoa (u_int32_t addr) |
u_int32_t | LookupLocalAddr (void) |
u_int32_t | LookupHostAddr (const char *host) |
const char * | intoa (u_int32_t addr) |
u_short | in_cksum (u_short *, int) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|