ns-3 Direct Code Execution
Home
Tutorials ▼
Docs ▼
Wiki
Manual
Develop ▼
API
Bugs
API
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
dce-vfs.cc
Go to the documentation of this file.
1
#include "
dce-vfs.h
"
2
#include "
utils.h
"
3
#include "
dce-manager.h
"
4
#include "
process.h
"
5
#include <ns3/log.h>
6
#include <ns3/node.h>
7
#include <ns3/simulator.h>
8
#include <errno.h>
9
10
NS_LOG_COMPONENT_DEFINE
(
"DceVfs"
);
11
12
using namespace
ns3;
13
14
int
dce_statfs
(
const
char
*path,
struct
statfs *buf)
15
{
16
NS_LOG_FUNCTION (
Current
() <<
UtilsGetNodeId
());
17
NS_ASSERT (
Current
() != 0);
18
Current
()->
err
= ENOSYS;
19
20
return
-1;
21
}
22
23
int
dce_fstatfs
(
int
fd,
struct
statfs *buf)
24
{
25
NS_LOG_FUNCTION (
Current
() <<
UtilsGetNodeId
());
26
NS_ASSERT (
Current
() != 0);
27
Current
()->
err
= ENOSYS;
28
29
return
-1;
30
}
31
32
int
dce_statfs64
(
const
char
*path,
struct
statfs *buf)
33
{
34
NS_LOG_FUNCTION (
Current
() <<
UtilsGetNodeId
());
35
NS_ASSERT (
Current
() != 0);
36
Current
()->
err
= ENOSYS;
37
38
return
-1;
39
}
40
41
int
dce_fstatfs64
(
int
fd,
struct
statfs *buf)
42
{
43
NS_LOG_FUNCTION (
Current
() <<
UtilsGetNodeId
());
44
NS_ASSERT (
Current
() != 0);
45
Current
()->
err
= ENOSYS;
46
47
return
-1;
48
}
49
50
int
dce_statvfs
(
const
char
*path,
struct
statvfs *buf)
51
{
52
NS_LOG_FUNCTION (
Current
() <<
UtilsGetNodeId
());
53
NS_ASSERT (
Current
() != 0);
54
Current
()->
err
= ENOSYS;
55
56
return
-1;
57
}
58
59
int
dce_fstatvfs
(
int
fd,
struct
statvfs *buf)
60
{
61
NS_LOG_FUNCTION (
Current
() <<
UtilsGetNodeId
());
62
NS_ASSERT (
Current
() != 0);
63
Current
()->
err
= ENOSYS;
64
65
return
-1;
66
}
model
dce-vfs.cc
Generated on Fri Aug 30 2013 13:57:55 for ns-3-dce by
1.8.1.2