FD.io VPP  v19.08.3-2-gbabecb413
Vector Packet Processing
VOM::ra_config Class Reference

A representation of Router Advertisement configuration. More...

Public Member Functions

 ra_config (uint8_t suppress, uint8_t send_unicast, uint8_t default_router, uint32_t max_interval)
 Construct a new object matching the desried state. More...
 
 ra_config (const ra_config &o)=default
 Copy Constructor. More...
 
 ~ra_config ()=default
 Destructor. More...
 
std::string to_string () const
 convert to string format for debug purposes More...
 
bool operator== (const ra_config &ra_config) const
 Comparison operator - only used for UT. More...
 
void to_vpp (vapi_payload_sw_interface_ip6nd_ra_config &ra_config) const
 convert the ra config to VPP API More...
 

Detailed Description

A representation of Router Advertisement configuration.

Definition at line 25 of file ra_config.hpp.

Constructor & Destructor Documentation

◆ ra_config() [1/2]

VOM::ra_config::ra_config ( uint8_t  suppress,
uint8_t  send_unicast,
uint8_t  default_router,
uint32_t  max_interval 
)

Construct a new object matching the desried state.

Definition at line 25 of file ra_config.cpp.

◆ ra_config() [2/2]

VOM::ra_config::ra_config ( const ra_config o)
default

Copy Constructor.

◆ ~ra_config()

VOM::ra_config::~ra_config ( )
default

Destructor.

Member Function Documentation

◆ operator==()

bool VOM::ra_config::operator== ( const ra_config ra_config) const

Comparison operator - only used for UT.

Definition at line 61 of file ra_config.cpp.

◆ to_string()

std::string VOM::ra_config::to_string ( void  ) const

convert to string format for debug purposes

Definition at line 70 of file ra_config.cpp.

◆ to_vpp()

void VOM::ra_config::to_vpp ( vapi_payload_sw_interface_ip6nd_ra_config &  ra_config) const

convert the ra config to VPP API

Definition at line 45 of file ra_config.cpp.


The documentation for this class was generated from the following files: