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, left_shift) | |
TEST (IPAddr, left_shift_random) | |
TEST (IPAddr, right_shift) | |
TEST (IPAddr, right_shift_random) | |
TEST (IPAddr, mapped_v4) | |
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 | , |
left_shift | |||
) |
Definition at line 174 of file test_ip.cpp.
TEST | ( | IPAddr | , |
left_shift_random | |||
) |
Definition at line 192 of file test_ip.cpp.
TEST | ( | IPAddr | , |
mapped_v4 | |||
) |
Definition at line 248 of file test_ip.cpp.
TEST | ( | IPAddr | , |
pool | |||
) |
Definition at line 51 of file test_ip.cpp.
TEST | ( | IPAddr | , |
right_shift | |||
) |
Definition at line 211 of file test_ip.cpp.
TEST | ( | IPAddr | , |
right_shift_random | |||
) |
Definition at line 230 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.