|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef __VOM_RA_CONFIG_H__
17 #define __VOM_RA_CONFIG_H__
19 #include <vapi/ip6_nd.api.vapi.hpp>
33 uint8_t default_router,
34 uint32_t max_interval);
59 void to_vpp(vapi_payload_sw_interface_ip6nd_ra_config&
ra_config)
const;
90 uint8_t m_send_unicast;
100 uint8_t m_default_router;
106 uint32_t m_max_interval;
113 uint32_t m_min_interval;
127 uint32_t m_initial_count;
133 uint32_t m_initial_interval;
The VPP Object Model (VOM) library.
bool operator==(const ra_config &ra_config) const
Comparison operator - only used for UT.
A representation of Router Advertisement configuration.
void to_vpp(vapi_payload_sw_interface_ip6nd_ra_config &ra_config) const
convert the ra config to VPP API
~ra_config()=default
Destructor.
std::string to_string() const
convert to string format for debug purposes
ra_config(uint8_t suppress, uint8_t send_unicast, uint8_t default_router, uint32_t max_interval)
Construct a new object matching the desried state.