#include <tap-bridge.h>
 Inheritance diagram for ns3::TapBridgeFdReader:
 Collaboration diagram for ns3::TapBridgeFdReader:Private Member Functions | |
| FdReader::Data | DoRead (void) | 
| The read implementation.  More... | |
Additional Inherited Members | |
  Public Member Functions inherited from ns3::FdReader | |
| FdReader () | |
| virtual | ~FdReader () | 
| void | Start (int fd, Callback< void, uint8_t *, ssize_t > readCallback) | 
| void | Stop (void) | 
  Public Member Functions inherited from ns3::SimpleRefCount< FdReader > | |
| SimpleRefCount () | |
| SimpleRefCount (const SimpleRefCount &o) | |
| uint32_t | GetReferenceCount (void) const | 
| SimpleRefCount & | operator= (const SimpleRefCount &o) | 
| void | Ref (void) const | 
| void | Unref (void) const | 
  Static Public Member Functions inherited from ns3::SimpleRefCount< FdReader > | |
| static void | Cleanup (void) | 
  Protected Attributes inherited from ns3::FdReader | |
| int | m_fd | 
| The file descriptor to read from.  More... | |
Definition at line 38 of file tap-bridge.h.
      
  | 
  privatevirtual | 
The read implementation.
m_len returned controls further processing. The callback function is only invoked when m_len is positive; any data read is not processed when m_len is negative; reading stops when m_len is zero.The management of memory associated with m_buf must be compatible with the read callback.
Implements ns3::FdReader.
Definition at line 69 of file tap-bridge.cc.
References ns3::FdReader::m_fd, NS_ABORT_MSG_IF, NS_LOG_FUNCTION_NOARGS, NS_LOG_INFO, and NS_LOG_LOGIC.