#include <senf/Socket/Protocols/Raw/MMapSocketProtocol.hh>
Definition at line 29 of file MMapSocketProtocol.hh.
◆ close()
void senf::MMapSocketProtocol::close |
( |
| ) |
|
|
virtual |
Close socket.
This override will automatically shutdown()
the socket whenever it is closed.
- Exceptions
-
- Fix:
- Move into (at least) BSDSOcketProtocol
Reimplemented from senf::SocketProtocol.
Definition at line 38 of file MMapSocketProtocol.cc.
◆ close_mmap()
void senf::MMapSocketProtocol::close_mmap |
( |
| ) |
const |
|
protected |
◆ init_mmap()
void senf::MMapSocketProtocol::init_mmap |
( |
unsigned |
frameSize, |
|
|
unsigned |
rxqlen, |
|
|
unsigned |
txqlen, |
|
|
unsigned |
reserve = 0 , |
|
|
bool |
qDiscBypass = false |
|
) |
| const |
|
protected |
◆ interfaceDead()
bool senf::MMapSocketProtocol::interfaceDead |
( |
| ) |
const |
◆ rxStats()
senf::detail::QueueInfo::RxStats senf::MMapSocketProtocol::rxStats |
( |
| ) |
const |
◆ terminate()
void senf::MMapSocketProtocol::terminate |
( |
| ) |
const |
|
virtual |
Forcibly close socket.
This override will automatically shutdown()
the socket whenever it is called. Additionally it will disable SO_LINGER to ensure, that v_terminate will not block. Like the overridden method, this member will ignore failures and will never throw. It is therefore safe to be called from a destructor.
- Fix:
- Move into (at least) BSDSocketProtocol
Reimplemented from senf::SocketProtocol.
Definition at line 44 of file MMapSocketProtocol.cc.
◆ terminate_mmap()
void senf::MMapSocketProtocol::terminate_mmap |
( |
| ) |
const |
|
protected |
◆ timestamping()
void senf::MMapSocketProtocol::timestamping |
( |
int |
sofFlags | ) |
|
◆ txStats()
senf::detail::QueueInfo::TxStats senf::MMapSocketProtocol::txStats |
( |
| ) |
const |
◆ qi_
detail::QueueInfo senf::MMapSocketProtocol::qi_ |
|
mutableprotected |
The documentation for this class was generated from the following files: