FD.io VPP  v18.10-34-gcce845e
Vector Packet Processing
VOM::ra_prefix Class Reference

A representation of RA prefix configuration on given interface. More...

Public Member Functions

 ra_prefix (const route::prefix_t &pfx, uint8_t use_default, uint8_t no_advertise, uint32_t val_lifetime, uint32_t pref_lifetime)
 Construct a new object matching the desried state. More...
 
 ra_prefix (const ra_prefix &o)=default
 Copy Constructor. More...
 
 ~ra_prefix ()=default
 Destructor. More...
 
std::string to_string () const
 convert to string format for debug purposes More...
 
const route::prefix_tprefix () const
 Return the prefix associated with this ra prefix. More...
 
bool operator== (const ra_prefix &ra_prefix) const
 Comparison operator - only used for UT. More...
 
void to_vpp (vapi_payload_sw_interface_ip6nd_ra_prefix &ra_prefix) const
 Convert the ra prefix configuration to Vpp Api. More...
 

Detailed Description

A representation of RA prefix configuration on given interface.

Definition at line 27 of file ra_prefix.hpp.

Constructor & Destructor Documentation

VOM::ra_prefix::ra_prefix ( const route::prefix_t pfx,
uint8_t  use_default,
uint8_t  no_advertise,
uint32_t  val_lifetime,
uint32_t  pref_lifetime 
)

Construct a new object matching the desried state.

Definition at line 21 of file ra_prefix.cpp.

VOM::ra_prefix::ra_prefix ( const ra_prefix o)
default

Copy Constructor.

VOM::ra_prefix::~ra_prefix ( )
default

Destructor.

Member Function Documentation

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

Comparison operator - only used for UT.

Definition at line 54 of file ra_prefix.cpp.

const route::prefix_t & VOM::ra_prefix::prefix ( ) const

Return the prefix associated with this ra prefix.

Definition at line 76 of file ra_prefix.cpp.

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

convert to string format for debug purposes

Definition at line 63 of file ra_prefix.cpp.

+ Here is the call graph for this function:

void VOM::ra_prefix::to_vpp ( vapi_payload_sw_interface_ip6nd_ra_prefix &  ra_prefix) const

Convert the ra prefix configuration to Vpp Api.

Definition at line 38 of file ra_prefix.cpp.

+ Here is the call graph for this function:


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