FD.io VPP  v20.05.1-6-gf53edbc3b
Vector Packet Processing
prefix.cpp File Reference
+ Include dependency graph for prefix.cpp:

Go to the source code of this file.

Namespaces

 VOM
 The VPP Object Model (VOM) library.
 

Functions

std::ostream & VOM::operator<< (std::ostream &os, const l3_proto_t &l3p)
 Ostream output for l3_proto_t. More...
 
boost::asio::ip::address VOM::from_bytes (uint8_t is_ip6, const uint8_t *array)
 Convert a VPP byte stinrg into a boost addresss. More...
 
void VOM::to_bytes (const boost::asio::ip::address_v6 &addr, uint8_t *array)
 
void VOM::to_bytes (const boost::asio::ip::address_v4 &addr, uint8_t *array)
 
void VOM::to_bytes (const boost::asio::ip::address &addr, uint8_t *is_ip6, uint8_t *array)
 Convert a boost address into a VPP bytes string. More...
 
uint32_t VOM::mask_width (const boost::asio::ip::address &addr)
 Get the prefix mask length of a host route from the boost address. More...
 
std::ostream & VOM::operator<< (std::ostream &os, const route::prefix_t &pfx)
 Ostream printer for prefix_t. More...
 
boost::asio::ip::address_v4 VOM::operator| (const boost::asio::ip::address_v4 &addr1, const boost::asio::ip::address_v4 &addr2)
 
boost::asio::ip::address_v4 VOM::operator & (const boost::asio::ip::address_v4 &addr1, const boost::asio::ip::address_v4 &addr2)
 
boost::asio::ip::address_v4 VOM::operator~ (const boost::asio::ip::address_v4 &addr1)
 
boost::asio::ip::address_v6 VOM::operator| (const boost::asio::ip::address_v6 &addr1, const boost::asio::ip::address_v6 &addr2)
 
boost::asio::ip::address_v6 VOM::operator & (const boost::asio::ip::address_v6 &addr1, const boost::asio::ip::address_v6 &addr2)
 
boost::asio::ip::address_v6 VOM::operator~ (const boost::asio::ip::address_v6 &addr1)
 
boost::asio::ip::address VOM::operator| (const boost::asio::ip::address &addr1, const boost::asio::ip::address &addr2)
 
boost::asio::ip::address VOM::operator & (const boost::asio::ip::address &addr1, const boost::asio::ip::address &addr2)
 
boost::asio::ip::address VOM::operator~ (const boost::asio::ip::address &addr1)