OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::ICMPv6 Struct Reference

#include <icmp6.hpp>

Collaboration diagram for openvpn::ICMPv6:
[legend]

Public Types

enum  { ECHO_REQUEST = 128 , ECHO_REPLY = 129 , DEST_UNREACH = 1 , PACKET_TOO_BIG = 2 }
 

Public Attributes

struct IPv6Header head
 
union { 
 
   struct { 
 
      std::uint8_t   type 
 
      std::uint8_t   code 
 
   }  
 
   std::uint16_t   type_code 
 
};  
 
std::uint16_t checksum
 
union { 
 
   struct { 
 
      std::uint16_t   id 
 
      std::uint16_t   seq_num 
 
   }  
 
   std::uint32_t   mtu 
 
};  
 

Detailed Description

Definition at line 25 of file icmp6.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
ECHO_REQUEST 
ECHO_REPLY 
DEST_UNREACH 
PACKET_TOO_BIG 

Definition at line 27 of file icmp6.hpp.

Member Data Documentation

◆ [union]

union { ... } openvpn::ICMPv6

◆ [union]

union { ... } openvpn::ICMPv6

◆ checksum

std::uint16_t openvpn::ICMPv6::checksum

Definition at line 45 of file icmp6.hpp.

◆ code

std::uint8_t openvpn::ICMPv6::code

Definition at line 41 of file icmp6.hpp.

◆ head

struct IPv6Header openvpn::ICMPv6::head

Definition at line 35 of file icmp6.hpp.

◆ id

std::uint16_t openvpn::ICMPv6::id

Definition at line 50 of file icmp6.hpp.

◆ mtu

std::uint32_t openvpn::ICMPv6::mtu

Definition at line 53 of file icmp6.hpp.

◆ seq_num

std::uint16_t openvpn::ICMPv6::seq_num

Definition at line 51 of file icmp6.hpp.

◆ type

std::uint8_t openvpn::ICMPv6::type

Definition at line 40 of file icmp6.hpp.

◆ type_code

std::uint16_t openvpn::ICMPv6::type_code

Definition at line 43 of file icmp6.hpp.


The documentation for this struct was generated from the following file: