#include <unix-file-fd.h>
Inheritance diagram for ns3::UnixFileFdBase:
Collaboration diagram for ns3::UnixFileFdBase:Public Member Functions | |
| UnixFileFdBase (int realFd) | |
| virtual | ~UnixFileFdBase () |
| virtual int | Accept (struct sockaddr *my_addr, socklen_t *addrlen) |
| virtual int | Bind (const struct sockaddr *my_addr, socklen_t addrlen) |
| virtual bool | CanRecv (void) const |
| virtual bool | CanSend (void) const |
| virtual int | Connect (const struct sockaddr *my_addr, socklen_t addrlen) |
| virtual int | Fcntl (int cmd, unsigned long arg) |
| virtual int | Ftruncate (off_t length) |
| virtual int | Fxstat (int ver, struct::stat *buf) |
| virtual int | Fxstat64 (int ver, struct::stat64 *buf) |
| virtual int | Getpeername (struct sockaddr *name, socklen_t *namelen) |
| virtual int | GetRealFd (void) const |
| virtual int | Getsockname (struct sockaddr *name, socklen_t *namelen) |
| virtual int | Getsockopt (int level, int optname, void *optval, socklen_t *optlen) |
| virtual int | Gettime (struct itimerspec *cur_value) const |
| virtual bool | HangupReceived (void) const |
| virtual int | Ioctl (int request, char *argp) |
| virtual bool | Isatty (void) const |
| virtual int | Listen (int backlog) |
| virtual off64_t | Lseek (off64_t offset, int whence) |
| virtual void * | Mmap (void *start, size_t length, int prot, int flags, off64_t offset) |
| virtual int | Poll (PollTable *ptable) |
| virtual ssize_t | Read (void *buf, size_t count) |
| virtual ssize_t | Recvmsg (struct msghdr *msg, int flags) |
| virtual ssize_t | Sendmsg (const struct msghdr *msg, int flags) |
| virtual int | Setsockopt (int level, int optname, const void *optval, socklen_t optlen) |
| virtual int | Settime (int flags, const struct itimerspec *new_value, struct itimerspec *old_value) |
| virtual int | Shutdown (int how) |
| virtual ssize_t | Write (const void *buf, size_t count) |
Public Member Functions inherited from ns3::UnixFd | |
| virtual int | Close (void)=0 |
| void | DecFdCount (void) |
| int | GetFdCount (void) const |
| void | IncFdCount (void) |
| virtual char * | Ttyname (void) |
Protected Member Functions | |
| int | PeekRealFd (void) const |
Protected Member Functions inherited from ns3::UnixFd | |
| UnixFd () | |
| void | AddWaitQueue (WaitQueueEntry *, bool andRegister) |
| void | RemoveWaitQueue (WaitQueueEntry *, bool andUnregister) |
| void | WakeWaiters (void *key) |
Private Attributes | |
| int | m_realFd |
Additional Inherited Members | |
Static Public Member Functions inherited from ns3::UnixFd | |
| static TypeId | GetTypeId (void) |
Protected Attributes inherited from ns3::UnixFd | |
| int | m_fdFlags |
| int | m_statusFlags |
Definition at line 8 of file unix-file-fd.h.
| ns3::UnixFileFdBase::UnixFileFdBase | ( | int | realFd | ) |
Definition at line 18 of file unix-file-fd.cc.
|
virtual |
Definition at line 22 of file unix-file-fd.cc.
References m_realFd.
|
virtual |
Implements ns3::UnixFd.
Definition at line 158 of file unix-file-fd.cc.
References ns3::Current(), and ns3::Thread::err.
Here is the call graph for this function:
|
virtual |
Implements ns3::UnixFd.
Definition at line 131 of file unix-file-fd.cc.
References ns3::Current(), and ns3::Thread::err.
Here is the call graph for this function:
|
virtual |
Reimplemented in ns3::UnixRandomFd.
Definition at line 265 of file unix-file-fd.cc.
References m_realFd.
Referenced by Poll().
Here is the caller graph for this function:
|
virtual |
Reimplemented in ns3::UnixRandomFd, and ns3::UnixFileFdLight.
Definition at line 283 of file unix-file-fd.cc.
References m_realFd.
Referenced by Poll().
Here is the caller graph for this function:
|
virtual |
Implements ns3::UnixFd.
Definition at line 140 of file unix-file-fd.cc.
References ns3::Current(), and ns3::Thread::err.
Here is the call graph for this function:
|
virtual |
Reimplemented from ns3::UnixFd.
Definition at line 230 of file unix-file-fd.cc.
References ns3::Current(), ns3::Thread::err, errno, and m_realFd.
Here is the call graph for this function:
|
virtual |
Implements ns3::UnixFd.
Definition at line 307 of file unix-file-fd.cc.
References ns3::Current(), ns3::Thread::err, errno, and m_realFd.
Here is the call graph for this function:
|
virtual |
Implements ns3::UnixFd.
Reimplemented in ns3::UnixRandomFd.
Definition at line 204 of file unix-file-fd.cc.
References ns3::Current(), ns3::Thread::err, errno, and m_realFd.
Here is the call graph for this function:
|
virtual |
Implements ns3::UnixFd.
Reimplemented in ns3::UnixRandomFd.
Definition at line 217 of file unix-file-fd.cc.
References ns3::Current(), ns3::Thread::err, errno, and m_realFd.
Here is the call graph for this function:
|
virtual |
Implements ns3::UnixFd.
Definition at line 112 of file unix-file-fd.cc.
References ns3::Current(), and ns3::Thread::err.
Here is the call graph for this function:
|
virtual |
Reimplemented from ns3::UnixFd.
Definition at line 321 of file unix-file-fd.cc.
References m_realFd.
|
virtual |
Implements ns3::UnixFd.
Definition at line 103 of file unix-file-fd.cc.
References ns3::Current(), and ns3::Thread::err.
Here is the call graph for this function:
|
virtual |
Implements ns3::UnixFd.
Definition at line 93 of file unix-file-fd.cc.
References ns3::Current(), and ns3::Thread::err.
Here is the call graph for this function:
|
virtual |
Implements ns3::UnixFd.
Definition at line 254 of file unix-file-fd.cc.
References ns3::Current(), and ns3::Thread::err.
Here is the call graph for this function:
|
virtual |
Implements ns3::UnixFd.
Definition at line 301 of file unix-file-fd.cc.
Referenced by Poll().
Here is the caller graph for this function:
|
virtual |
Implements ns3::UnixFd.
Definition at line 122 of file unix-file-fd.cc.
References ns3::Current(), and ns3::Thread::err.
Here is the call graph for this function:
|
virtual |
|
virtual |
Implements ns3::UnixFd.
Definition at line 149 of file unix-file-fd.cc.
References ns3::Current(), and ns3::Thread::err.
Here is the call graph for this function:
|
virtual |
Implements ns3::UnixFd.
Definition at line 191 of file unix-file-fd.cc.
References ns3::Current(), ns3::Thread::err, errno, and m_realFd.
Here is the call graph for this function:
|
virtual |
Implements ns3::UnixFd.
Definition at line 176 of file unix-file-fd.cc.
References ns3::Current(), ns3::Thread::err, errno, and m_realFd.
Here is the call graph for this function:
|
protected |
Definition at line 28 of file unix-file-fd.cc.
References m_realFd.
Referenced by ns3::UnixFileFd::Close(), and ns3::UnixFileFd::~UnixFileFd().
Here is the caller graph for this function:
|
virtual |
Implements ns3::UnixFd.
Definition at line 354 of file unix-file-fd.cc.
References CanRecv(), CanSend(), HangupReceived(), and ns3::PollTable::PollWait().
Here is the call graph for this function:
|
virtual |
Implements ns3::UnixFd.
Reimplemented in ns3::UnixRandomFd.
Definition at line 46 of file unix-file-fd.cc.
References ns3::Current(), ns3::Thread::err, errno, and m_realFd.
Here is the call graph for this function:
|
virtual |
Implements ns3::UnixFd.
Definition at line 60 of file unix-file-fd.cc.
References ns3::Current(), and ns3::Thread::err.
Here is the call graph for this function:
|
virtual |
Implements ns3::UnixFd.
Definition at line 69 of file unix-file-fd.cc.
References ns3::Current(), and ns3::Thread::err.
Here is the call graph for this function:
|
virtual |
Implements ns3::UnixFd.
Definition at line 83 of file unix-file-fd.cc.
References ns3::Current(), and ns3::Thread::err.
Here is the call graph for this function:
|
virtual |
Implements ns3::UnixFd.
Definition at line 243 of file unix-file-fd.cc.
References ns3::Current(), and ns3::Thread::err.
Here is the call graph for this function:
|
virtual |
Implements ns3::UnixFd.
Definition at line 167 of file unix-file-fd.cc.
References ns3::Current(), and ns3::Thread::err.
Here is the call graph for this function:
|
virtual |
Implements ns3::UnixFd.
Reimplemented in ns3::UnixRandomFd, and ns3::UnixFileFdLight.
Definition at line 33 of file unix-file-fd.cc.
References ns3::Current(), ns3::Thread::err, errno, and m_realFd.
Here is the call graph for this function:
|
private |
Definition at line 51 of file unix-file-fd.h.
Referenced by CanRecv(), CanSend(), Fcntl(), Ftruncate(), Fxstat(), Fxstat64(), GetRealFd(), Isatty(), Lseek(), Mmap(), PeekRealFd(), Read(), Write(), and ~UnixFileFdBase().