17 #ifndef HH_SENF_Socket_Protocols_Raw_MMapSocketProtocol_ 18 #define HH_SENF_Socket_Protocols_Raw_MMapSocketProtocol_ 1 36 detail::QueueInfo::TxStats
txStats()
const;
37 detail::QueueInfo::RxStats
rxStats()
const;
43 void init_mmap(
unsigned frameSize,
unsigned rxqlen,
unsigned txqlen,
unsigned reserve = 0,
bool qDiscBypass =
false)
const;
47 mutable detail::QueueInfo
qi_;
QueueReadWritePolicy public header.
detail::QueueInfo::TxStats txStats() const
Socket Protocol base class.
void close()
Close socket.
virtual unsigned available() const =0
Return (maximum) number of bytes available for reading without < blocking.
void timestamping(int sofFlags)
bool interfaceDead() const
access FileHandle extra data information
void terminate() const
Forcibly close socket.
SocketProtocol and ConcreteSocketProtocol public header.
void terminate_mmap() const
void init_mmap(unsigned frameSize, unsigned rxqlen, unsigned txqlen, unsigned reserve=0, bool qDiscBypass=false) const
detail::QueueInfo::RxStats rxStats() const