OpenVPN
mroute_addr Struct Reference

#include <mroute.h>

Data Fields

uint8_t len
uint8_t proto
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
}; 

Detailed Description

Definition at line 81 of file mroute.h.

Field Documentation

◆ [union]

union { ... } mroute_addr

◆ addr [1/3]

struct in6_addr mroute_addr::addr

Definition at line 103 of file mroute.h.

◆ addr [2/3]

in_addr_t mroute_addr::addr

Definition at line 98 of file mroute.h.

◆ addr [3/3]

◆ [struct]

struct { ... } mroute_addr::ether

◆ len

◆ netbits

◆ port

in_port_t mroute_addr::port

◆ prefix

uint8_t mroute_addr::prefix[12]

Definition at line 108 of file mroute.h.

◆ proto

◆ raw_addr

uint8_t mroute_addr::raw_addr[MR_MAX_ADDR_LEN]

Definition at line 90 of file mroute.h.

Referenced by mroute_addr_equal(), and mroute_learnable_address().

◆ type

◆ [struct]

◆ [struct]

struct { ... } mroute_addr::v4mappedv6

Referenced by mroute_addr_print_ex().

◆ [struct]

◆ vid

uint16_t mroute_addr::vid

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