OpenVPN 3 Core Library
Loading...
Searching...
No Matches
ping6.hpp File Reference
#include <string>
#include <cstring>
#include <utility>
#include <openvpn/common/clamp_typerange.hpp>
#include <openvpn/common/size.hpp>
#include <openvpn/common/socktypes.hpp>
#include <openvpn/buffer/buffer.hpp>
#include <openvpn/addr/ipv6.hpp>
#include <openvpn/ip/ipcommon.hpp>
#include <openvpn/ip/icmp6.hpp>
#include <openvpn/ip/csum.hpp>
Include dependency graph for ping6.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  openvpn
 
namespace  openvpn::Ping6
 

Functions

static const std::uint16_t * openvpn::Ping6::get_addr16 (const struct in6_addr *addr)
 
std::uint16_t openvpn::Ping6::csum_ipv6_pseudo (const struct in6_addr *saddr, const struct in6_addr *daddr, const std::uint32_t len, const std::uint16_t proto, std::uint32_t sum)
 
std::uint16_t openvpn::Ping6::csum_icmp (const ICMPv6 *icmp, const size_t len)
 
void openvpn::Ping6::generate_echo_request (Buffer &buf, const IPv6::Addr &src, const IPv6::Addr &dest, const void *extra_data, const size_t extra_data_size, const uint16_t id, const uint16_t seq_num, const size_t total_size, std::string *log_info)
 
void openvpn::Ping6::generate_echo_reply (Buffer &buf, std::string *log_info)