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]
 
   uint8_t   eth_addr [OPENVPN_ETH_ALEN]
 
   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 77 of file mroute.h.

Field Documentation

◆ addr [1/2]

in_addr_t mroute_addr::addr

Definition at line 87 of file mroute.h.

Referenced by multi_get_instance_by_virtual_addr().

◆ addr [2/2]

struct in6_addr mroute_addr::addr

Definition at line 91 of file mroute.h.

◆ eth_addr

uint8_t mroute_addr::eth_addr[OPENVPN_ETH_ALEN]

Definition at line 85 of file mroute.h.

Referenced by is_mac_mcast_maddr(), mroute_addr_print_ex(), and mroute_extract_addr_ether().

◆ len

uint8_t mroute_addr::len

◆ netbits

uint8_t mroute_addr::netbits

◆ port

in_port_t mroute_addr::port

Definition at line 88 of file mroute.h.

◆ prefix

uint8_t mroute_addr::prefix[12]

Definition at line 95 of file mroute.h.

◆ raw_addr

uint8_t mroute_addr::raw_addr[MR_MAX_ADDR_LEN]

Definition at line 84 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 79 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

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