OpenVPN
Data Fields
mroute_addr Struct Reference

#include <mroute.h>

Data Fields

uint8_t len
 
uint8_t unused
 
uint8_t type
 
uint8_t netbits
 
union {
   uint8_t   raw_addr [MR_MAX_ADDR_LEN]
 
   struct {
      uint8_t   addr [OPENVPN_ETH_ALEN]
 
      uint16_t   vid
 
   }   ether
 
   struct {
      in_addr_t   addr
 
      in_port_t   port
 
   }   v4
 
   struct {
      struct in6_addr   addr
 
      in_port_t   port
 
   }   v6
 
   struct {
      uint8_t   prefix [12]
 
      in_addr_t   addr
 
   }   v4mappedv6
 
v4mappedv6
 

Detailed Description

Definition at line 75 of file mroute.h.

Field Documentation

◆ addr [1/3]

in_addr_t mroute_addr::addr

Definition at line 88 of file mroute.h.

◆ addr [2/3]

struct in6_addr mroute_addr::addr

Definition at line 92 of file mroute.h.

◆ addr [3/3]

uint8_t mroute_addr::addr[OPENVPN_ETH_ALEN]

◆ ether

struct { ... } mroute_addr::ether

◆ len

uint8_t mroute_addr::len

◆ netbits

uint8_t mroute_addr::netbits

◆ port

in_port_t mroute_addr::port

Definition at line 89 of file mroute.h.

Referenced by management_callback_kill_by_addr().

◆ prefix

uint8_t mroute_addr::prefix[12]

Definition at line 96 of file mroute.h.

◆ raw_addr

uint8_t mroute_addr::raw_addr[MR_MAX_ADDR_LEN]

Definition at line 82 of file mroute.h.

Referenced by mroute_addr_equal(), and mroute_learnable_address().

◆ type

uint8_t mroute_addr::type

◆ unused

uint8_t mroute_addr::unused

Definition at line 77 of file mroute.h.

◆ v4

struct { ... } mroute_addr::v4

◆ v4mappedv6 [1/2]

struct { ... } mroute_addr::v4mappedv6

Referenced by mroute_addr_print_ex().

◆ v4mappedv6 [2/2]

union { ... } mroute_addr::v4mappedv6

◆ v6

struct { ... } mroute_addr::v6

◆ vid

uint16_t mroute_addr::vid

Definition at line 85 of file mroute.h.

Referenced by multi_process_incoming_tun().


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