ns-3 Direct Code Execution
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
dce-stat.cc File Reference
#include <sys/stat.h>
#include <fcntl.h>
#include "sys/dce-stat.h"
#include "utils.h"
#include "process.h"
#include "ns3/log.h"
#include "ns3/assert.h"
#include <errno.h>
#include "file-usage.h"
+ Include dependency graph for dce-stat.cc:

Go to the source code of this file.

Functions

int dce___fxstat (int ver, int fd, struct stat *buf)
int dce___fxstat64 (int ver, int fd, struct stat64 *buf)
int dce___lxstat (int ver, const char *pathname, struct stat *buf)
int dce___lxstat64 (int ver, const char *pathname, struct stat64 *buf)
int dce___xstat (int ver, const char *path, struct stat *buf)
int dce___xstat64 (int ver, const char *path, struct stat64 *buf)
int dce_fstat (int fd, struct stat *buf)
int dce_fstat64 (int fd, struct stat64 *buf)
 NS_LOG_COMPONENT_DEFINE ("SimuStat")

Function Documentation

int dce___fxstat ( int  ver,
int  fd,
struct stat *  buf 
)

Definition at line 51 of file dce-stat.cc.

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

Referenced by ns3::LinuxSocketFdFactory::__Fxstat(), and dce_fstat().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int dce___fxstat64 ( int  ver,
int  fd,
struct stat64 *  buf 
)

Definition at line 59 of file dce-stat.cc.

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

Referenced by dce_fstat64().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int dce___lxstat ( int  ver,
const char *  pathname,
struct stat *  buf 
)

Definition at line 67 of file dce-stat.cc.

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

+ Here is the call graph for this function:

int dce___lxstat64 ( int  ver,
const char *  pathname,
struct stat64 *  buf 
)

Definition at line 85 of file dce-stat.cc.

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

+ Here is the call graph for this function:

int dce___xstat ( int  ver,
const char *  path,
struct stat *  buf 
)

Definition at line 15 of file dce-stat.cc.

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

+ Here is the call graph for this function:

int dce___xstat64 ( int  ver,
const char *  path,
struct stat64 *  buf 
)

Definition at line 33 of file dce-stat.cc.

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

+ Here is the call graph for this function:

int dce_fstat ( int  fd,
struct stat *  buf 
)

Definition at line 104 of file dce-stat.cc.

References dce___fxstat().

+ Here is the call graph for this function:

int dce_fstat64 ( int  fd,
struct stat64 *  buf 
)

Definition at line 108 of file dce-stat.cc.

References dce___fxstat64().

Referenced by anonymous_namespace{dce-stdio.cc}::my_stat().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

NS_LOG_COMPONENT_DEFINE ( "SimuStat"  )