#include <unix-file-fd.h>
Public Member Functions | |
UnixFileFdLight (std::string path) | |
virtual | ~UnixFileFdLight () |
virtual bool | CanSend (void) const |
virtual int | Close (void) |
virtual ssize_t | Write (const void *buf, size_t count) |
![]() | |
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 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) |
![]() | |
void | DecFdCount (void) |
int | GetFdCount (void) const |
void | IncFdCount (void) |
virtual char * | Ttyname (void) |
Private Attributes | |
std::string | m_path |
Additional Inherited Members | |
![]() | |
static TypeId | GetTypeId (void) |
![]() | |
int | PeekRealFd (void) const |
![]() | |
int | m_fdFlags |
int | m_statusFlags |
Definition at line 64 of file unix-file-fd.h.
ns3::UnixFileFdLight::UnixFileFdLight | ( | std::string | path | ) |
Definition at line 379 of file unix-file-fd.cc.
|
virtual |
Definition at line 385 of file unix-file-fd.cc.
References m_path.
|
virtual |
Reimplemented from ns3::UnixFileFdBase.
Definition at line 415 of file unix-file-fd.cc.
|
virtual |
Implements ns3::UnixFd.
Definition at line 409 of file unix-file-fd.cc.
|
virtual |
Reimplemented from ns3::UnixFileFdBase.
Definition at line 391 of file unix-file-fd.cc.
References ns3::Current(), ns3::Thread::err, errno, and m_path.
|
private |
Definition at line 74 of file unix-file-fd.h.
Referenced by Write(), and ~UnixFileFdLight().