ns-3 Direct Code Execution
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
dce-netdb.h File Reference
#include <netdb.h>
+ Include dependency graph for dce-netdb.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void dce_freeaddrinfo (struct addrinfo *res)
const char * dce_gai_strerror (int errcode)
int dce_getaddrinfo (const char *node, const char *service, const struct addrinfo *hints, struct addrinfo **res)
struct hostent * dce_gethostbyname (const char *name)
struct hostent * dce_gethostbyname2 (const char *name, int af)
int dce_getifaddrs (struct ifaddrs **ifap)
int dce_getnameinfo (const struct sockaddr *sa, socklen_t salen, char *host, socklen_t hostlen, char *serv, socklen_t servlen, unsigned int flags)
void dce_herror (const char *string)

Function Documentation

void dce_freeaddrinfo ( struct addrinfo *  res)

Definition at line 106 of file dce-netdb.cc.

References ns3::Current(), dce_free(), and ns3::UtilsGetNodeId().

+ Here is the call graph for this function:

const char* dce_gai_strerror ( int  errcode)

Definition at line 122 of file dce-netdb.cc.

References ns3::Current(), and ns3::UtilsGetNodeId().

+ Here is the call graph for this function:

int dce_getaddrinfo ( const char *  node,
const char *  service,
const struct addrinfo *  hints,
struct addrinfo **  res 
)

Definition at line 55 of file dce-netdb.cc.

References ns3::Current(), dce_malloc(), dce_strdup(), and ns3::UtilsGetNodeId().

+ Here is the call graph for this function:

struct hostent* dce_gethostbyname ( const char *  name)
read

Definition at line 25 of file dce-netdb.cc.

References ns3::Current(), and ns3::UtilsGetNodeId().

Referenced by dce_gethostbyname2().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

struct hostent* dce_gethostbyname2 ( const char *  name,
int  af 
)
read

Definition at line 50 of file dce-netdb.cc.

References dce_gethostbyname().

+ Here is the call graph for this function:

int dce_getnameinfo ( const struct sockaddr *  sa,
socklen_t  salen,
char *  host,
socklen_t  hostlen,
char *  serv,
socklen_t  servlen,
unsigned int  flags 
)

Definition at line 128 of file dce-netdb.cc.

References ns3::Current(), ns3::Thread::err, errno, and snprintf().

+ Here is the call graph for this function:

void dce_herror ( const char *  string)

Definition at line 193 of file dce-netdb.cc.

References ns3::Current(), and ns3::UtilsGetNodeId().

+ Here is the call graph for this function: