FD.io VPP
v21.06-3-gbb25fbf28
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 22 of file ra_prefix.cpp.
|
default |
Copy Constructor.
|
default |
Destructor.
Comparison operator - only used for UT.
Definition at line 53 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 75 of file ra_prefix.cpp.
std::string VOM::ra_prefix::to_string | ( | ) | const |
convert to string format for debug purposes
Definition at line 62 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 39 of file ra_prefix.cpp.