|
void | SetUp () override |
|
void | TearDown () override |
|
template<typename CALLBACK > |
void | cmd (const Argv &argv, CALLBACK cb) |
|
template<typename CALLBACK > |
void | ip_a_show_dev (CALLBACK cb) |
|
template<typename CALLBACK > |
void | ip_route_get (std::string dst, CALLBACK cb) |
|
|
std::string | dev = "tun999" |
|
std::string | dev2 = "tun9999" |
|
std::string | addr4 = "10.10.0.2" |
|
std::string | route4 = "10.110.0.0/24" |
|
std::string | gw4 = "10.10.0.1" |
|
std::string | addr6 = "fe80:20c3:aaaa:bbbb::cccc" |
|
std::string | route6 = "fe80:20c3:cccc:dddd::0/64" |
|
std::string | gw6 = "fe80:20c3:aaaa:bbbb:cccc:dddd:eeee:1" |
|
int | ipv4_prefix_len = 16 |
|
int | ipv6_prefix_len = 64 |
|
int | mtu = 1234 |
|
Definition at line 30 of file test_sitnl.cpp.
◆ add_device()
void unittests::SitnlTest::add_device |
( |
std::string |
name | ) |
|
|
inlineprivate |
◆ cmd()
template<typename CALLBACK >
void unittests::SitnlTest::cmd |
( |
const Argv & |
argv, |
|
|
CALLBACK |
cb |
|
) |
| |
|
inlineprotected |
◆ haveCapNetAdmin()
static bool unittests::SitnlTest::haveCapNetAdmin |
( |
| ) |
|
|
inlinestaticprotected |
◆ ip_a_show_dev()
template<typename CALLBACK >
void unittests::SitnlTest::ip_a_show_dev |
( |
CALLBACK |
cb | ) |
|
|
inlineprotected |
◆ ip_route_get()
template<typename CALLBACK >
void unittests::SitnlTest::ip_route_get |
( |
std::string |
dst, |
|
|
CALLBACK |
cb |
|
) |
| |
|
inlineprotected |
◆ remove_device()
void unittests::SitnlTest::remove_device |
( |
std::string |
name | ) |
|
|
inlineprivate |
◆ SetUp()
void unittests::SitnlTest::SetUp |
( |
| ) |
|
|
inlineoverrideprotected |
◆ SetUpTestSuite()
static void unittests::SitnlTest::SetUpTestSuite |
( |
| ) |
|
|
inlinestaticprotected |
◆ TearDown()
void unittests::SitnlTest::TearDown |
( |
| ) |
|
|
inlineoverrideprotected |
◆ addr4
std::string unittests::SitnlTest::addr4 = "10.10.0.2" |
|
protected |
◆ addr6
std::string unittests::SitnlTest::addr6 = "fe80:20c3:aaaa:bbbb::cccc" |
|
protected |
◆ dev
std::string unittests::SitnlTest::dev = "tun999" |
|
protected |
◆ dev2
std::string unittests::SitnlTest::dev2 = "tun9999" |
|
protected |
◆ gw4
std::string unittests::SitnlTest::gw4 = "10.10.0.1" |
|
protected |
◆ gw6
std::string unittests::SitnlTest::gw6 = "fe80:20c3:aaaa:bbbb:cccc:dddd:eeee:1" |
|
protected |
◆ ipv4_prefix_len
int unittests::SitnlTest::ipv4_prefix_len = 16 |
|
protected |
◆ ipv6_prefix_len
int unittests::SitnlTest::ipv6_prefix_len = 64 |
|
protected |
◆ mtu
int unittests::SitnlTest::mtu = 1234 |
|
protected |
◆ route4
std::string unittests::SitnlTest::route4 = "10.110.0.0/24" |
|
protected |
◆ route6
std::string unittests::SitnlTest::route6 = "fe80:20c3:cccc:dddd::0/64" |
|
protected |
The documentation for this class was generated from the following file: