|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef __VOM_RA_PREFIX_H__
17 #define __VOM_RA_PREFIX_H__
21 #include <vapi/ip6_nd.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;
The VPP Object Model (VOM) library.
A representation of RA prefix configuration on given interface.
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.
bool operator==(const ra_prefix &ra_prefix) const
Comparison operator - only used for UT.
const route::prefix_t & prefix() const
Return the prefix associated with this ra prefix.
std::string to_string() const
convert to string format for debug purposes
~ra_prefix()=default
Destructor.
void to_vpp(vapi_payload_sw_interface_ip6nd_ra_prefix &ra_prefix) const
Convert the ra prefix configuration to Vpp Api.