16 #ifndef __VOM_RA_PREFIX_H__ 17 #define __VOM_RA_PREFIX_H__ 21 #include <vapi/ip.api.vapi.hpp> 36 uint32_t val_lifetime,
37 uint32_t pref_lifetime);
67 void to_vpp(vapi_payload_sw_interface_ip6nd_ra_prefix& ra_prefix)
const;
78 uint8_t m_use_default;
84 uint8_t m_no_advertise;
95 uint8_t m_no_autoconfig;
111 uint32_t m_val_lifetime;
122 uint32_t m_pref_lifetime;
void to_vpp(vapi_payload_sw_interface_ip6nd_ra_prefix &ra_prefix) const
Convert the ra prefix configuration to Vpp Api.
std::string to_string() const
convert to string format for debug purposes
const route::prefix_t & prefix() const
Return the prefix associated with this ra prefix.
A representation of RA prefix configuration on given interface.
bool operator==(const ra_prefix &ra_prefix) const
Comparison operator - only used for UT.
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.
The VPP Object Model (VOM) library.
~ra_prefix()=default
Destructor.