OpenVPN
Data Structures | Macros | Typedefs | Enumerations
openvpn-msg.h File Reference
#include <windef.h>
#include <ws2tcpip.h>
Include dependency graph for openvpn-msg.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  message_header_t
 
union  inet_address_t
 
struct  interface_t
 
struct  address_message_t
 
struct  route_message_t
 
struct  dns_cfg_message_t
 
struct  nrpt_dns_cfg_message_t
 
struct  wins_cfg_message_t
 
struct  nbt_cfg_message_t
 
struct  flush_neighbors_message_t
 
struct  ack_message_t
 
struct  wfp_block_message_t
 
struct  enable_dhcp_message_t
 
struct  register_ring_buffers_message_t
 
struct  set_mtu_message_t
 
struct  create_adapter_message_t
 

Macros

#define NRPT_ADDR_NUM   8 /* Max. number of addresses */
 
#define NRPT_ADDR_SIZE   48 /* Max. address strlen + some */
 

Typedefs

typedef char nrpt_address_t[NRPT_ADDR_SIZE]
 

Enumerations

enum  message_type_t {
  msg_acknowledgement , msg_add_address , msg_del_address , msg_add_route ,
  msg_del_route , msg_add_dns_cfg , msg_del_dns_cfg , msg_add_nrpt_cfg ,
  msg_del_nrpt_cfg , msg_add_nbt_cfg , msg_del_nbt_cfg , msg_flush_neighbors ,
  msg_add_wfp_block , msg_del_wfp_block , msg_register_dns , msg_enable_dhcp ,
  msg_register_ring_buffers , msg_set_mtu , msg_add_wins_cfg , msg_del_wins_cfg ,
  msg_create_adapter
}
 
enum  wfp_block_flags_t { wfp_block_local = 1<<0 , wfp_block_dns = 1<<1 }
 
enum  nrpt_flags_t { nrpt_dnssec }
 
enum  adapter_type_t { ADAPTER_TYPE_DCO , ADAPTER_TYPE_TAP , ADAPTER_TYPE_WINTUN }
 

Macro Definition Documentation

◆ NRPT_ADDR_NUM

#define NRPT_ADDR_NUM   8 /* Max. number of addresses */

Definition at line 107 of file openvpn-msg.h.

◆ NRPT_ADDR_SIZE

#define NRPT_ADDR_SIZE   48 /* Max. address strlen + some */

Definition at line 108 of file openvpn-msg.h.

Typedef Documentation

◆ nrpt_address_t

typedef char nrpt_address_t[NRPT_ADDR_SIZE]

Definition at line 109 of file openvpn-msg.h.

Enumeration Type Documentation

◆ adapter_type_t

Enumerator
ADAPTER_TYPE_DCO 
ADAPTER_TYPE_TAP 
ADAPTER_TYPE_WINTUN 

Definition at line 176 of file openvpn-msg.h.

◆ message_type_t

Enumerator
msg_acknowledgement 
msg_add_address 
msg_del_address 
msg_add_route 
msg_del_route 
msg_add_dns_cfg 
msg_del_dns_cfg 
msg_add_nrpt_cfg 
msg_del_nrpt_cfg 
msg_add_nbt_cfg 
msg_del_nbt_cfg 
msg_flush_neighbors 
msg_add_wfp_block 
msg_del_wfp_block 
msg_register_dns 
msg_enable_dhcp 
msg_register_ring_buffers 
msg_set_mtu 
msg_add_wins_cfg 
msg_del_wins_cfg 
msg_create_adapter 

Definition at line 30 of file openvpn-msg.h.

◆ nrpt_flags_t

Enumerator
nrpt_dnssec 

Definition at line 103 of file openvpn-msg.h.

◆ wfp_block_flags_t

Enumerator
wfp_block_local 
wfp_block_dns 

Definition at line 70 of file openvpn-msg.h.