ns2 Network Simulator      C++ Class Hierarchy of version ns-snapshot-20040722
Home |  Source Code |  Manual |  FAQ |  Mailing List Archive |  Search |  Download | 


Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

ns-2/emulate/inet.c File Reference

#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <sys/param.h>
#include <netdb.h>
#include <sys/socket.h>
#include <unistd.h>
#include "config.h"
#include "inet.h"
#include <netinet/in_systm.h>
#include <netinet/ip.h>
#include <stdio.h>

Functions

u_int32_t LookupHostAddr (const char *s)
u_int32_t LookupLocalAddr (void)
const char * intoa (u_int32_t addr)
char * InetNtoa (u_int32_t addr)
char * LookupHostName (u_int32_t addr)
u_short in_cksum (addr, len) u_short *addr

Variables

const char rcsid []
int len

Function Documentation

u_short in_cksum addr   ,
len   
 

char* InetNtoa u_int32_t    addr
 

const char* intoa u_int32_t    addr
 

u_int32_t LookupHostAddr const char *    s
 

char* LookupHostName u_int32_t    addr
 

u_int32_t LookupLocalAddr void   
 


Variable Documentation

int len
 

const char rcsid[] [static]
 

Initial value:

    "@(#) $Header: /nfs/jade/vint/CVSROOT/ns-2/emulate/inet.c,v 1.5 2000/02/08 23:35:13 salehi Exp $ (LBL)"


This document is generated by doxygen.