Class used to test the raw socket API.
More...
|
| void | SetUp () override |
| | Sets up the test fixture.
|
| |
| void | TearDown () override |
| | Tears down the test fixture.
|
| |
| virtual void | onReceive () override |
| | method called when data are ready to be read on handle.
|
| |
| struct | __attribute__ ((packed)) Packet |
| | Raw packet.
|
| |
Class used to test the raw socket API.
◆ __attribute__()
| struct RawSocket::__attribute__ |
( |
(packed) | | ) |
|
|
inlineprotected |
◆ onReceive()
| virtual void RawSocket::onReceive |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
method called when data are ready to be read on handle.
◆ SetUp()
| void RawSocket::SetUp |
( |
| ) |
|
|
inlineoverrideprotected |
Sets up the test fixture.
◆ SetUpTestCase()
| static void RawSocket::SetUpTestCase |
( |
| ) |
|
|
inlinestatic |
◆ TearDown()
| void RawSocket::TearDown |
( |
| ) |
|
|
inlineoverrideprotected |
Tears down the test fixture.
◆ _interface
| const std::string RawSocket::_interface = "lo" |
|
staticprotected |
◆ _packet
| RawSocket::Packet RawSocket::_packet |
|
staticprotected |
◆ _timeout
| const int RawSocket::_timeout = 1000 |
|
staticprotected |
The documentation for this class was generated from the following file: