OpenVPN
route_gateway_info Struct Reference

#include <route.h>

Collaboration diagram for route_gateway_info:

Data Fields

unsigned int flags
DWORD adapter_index
uint8_t hwaddr [6]
struct route_gateway_address gateway
int n_addrs
struct route_gateway_address addrs [RGI_N_ADDRESSES]

Detailed Description

Definition at line 157 of file route.h.

Field Documentation

◆ adapter_index

DWORD route_gateway_info::adapter_index

Definition at line 169 of file route.h.

Referenced by add_route(), get_default_gateway(), and print_default_gateway().

◆ addrs

struct route_gateway_address route_gateway_info::addrs[RGI_N_ADDRESSES]

Definition at line 185 of file route.h.

Referenced by add_block_local_routes(), and local_route().

◆ flags

◆ gateway

◆ hwaddr

uint8_t route_gateway_info::hwaddr[6]

Definition at line 177 of file route.h.

Referenced by get_default_gateway(), print_default_gateway(), and push_peer_info().

◆ n_addrs

int route_gateway_info::n_addrs

Definition at line 184 of file route.h.

Referenced by add_block_local_routes(), and local_route().


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