|
OpenVPN 3 Core Library
|
#include "test_common.hpp"#include <iostream>#include <openvpn/common/size.hpp>#include <openvpn/common/exception.hpp>#include <openvpn/ip/ping6.hpp>#include <openvpn/addr/ip.hpp>#include <openvpn/addr/pool.hpp>#include <openvpn/addr/ipv6.hpp>Go to the source code of this file.
Classes | |
| struct | test_case |
Functions | |
| TEST (IPAddr, Icmp6csum) | |
| TEST (IPAddr, Pool) | |
| TEST (Pool, AcquiringNotAvailableAddressReturnsFalse) | |
| TEST (Range, EmptyRangeBeginEndIteratorsAreEqual) | |
| void | do_shift_tests (const std::vector< test_case > &test_vectors, bool leftshift) |
| TEST (IPAddr, LeftShift) | |
| TEST (IPAddr, LeftShiftRandom) | |
| TEST (IPAddr, RightShift) | |
| TEST (IPAddr, RightShiftRandom) | |
| TEST (IPAddr, MappedV4) | |
Variables | |
| static const uint8_t | icmp6_packet [] |
| static bool | verbose = false |
| void do_shift_tests | ( | const std::vector< test_case > & | test_vectors, |
| bool | leftshift | ||
| ) |
| TEST | ( | IPAddr | , |
| Icmp6csum | |||
| ) |
Definition at line 33 of file test_ip.cpp.
| TEST | ( | IPAddr | , |
| LeftShift | |||
| ) |
Definition at line 174 of file test_ip.cpp.
| TEST | ( | IPAddr | , |
| LeftShiftRandom | |||
| ) |
Definition at line 196 of file test_ip.cpp.
| TEST | ( | IPAddr | , |
| MappedV4 | |||
| ) |
Definition at line 261 of file test_ip.cpp.
| TEST | ( | IPAddr | , |
| Pool | |||
| ) |
Definition at line 51 of file test_ip.cpp.
| TEST | ( | IPAddr | , |
| RightShift | |||
| ) |
Definition at line 218 of file test_ip.cpp.
| TEST | ( | IPAddr | , |
| RightShiftRandom | |||
| ) |
Definition at line 239 of file test_ip.cpp.
| TEST | ( | Pool | , |
| AcquiringNotAvailableAddressReturnsFalse | |||
| ) |
Definition at line 109 of file test_ip.cpp.
| TEST | ( | Range | , |
| EmptyRangeBeginEndIteratorsAreEqual | |||
| ) |
Definition at line 116 of file test_ip.cpp.
|
static |
Definition at line 18 of file test_ip.cpp.
|
static |
Definition at line 31 of file test_ip.cpp.