FD.io VPP
v18.01-8-g0eacf49
Vector Packet Processing
|
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_t & | prefix () 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... | |
A representation of RA prefix configuration on given interface.
Definition at line 27 of file ra_prefix.hpp.
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.
|
default |
Copy Constructor.
|
default |
Destructor.
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.
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.