FD.io VPP  v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
prefix.hpp File Reference
+ Include dependency graph for prefix.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  VOM::nh_proto_t
 Types belonging to Routing. More...
 
class  VOM::l3_proto_t
 An L3 protocol can be used to construct a prefix that is used to match packets are part of a route. More...
 
class  VOM::route::prefix_t
 A prefix defintion. More...
 
class  VOM::route::mprefix_t
 A prefix defintion. More...
 

Namespaces

 VOM
 The VPP Object Model (VOM) library.
 
 VOM::route
 Types belonging to Routing.
 

Typedefs

typedef uint32_t VOM::route::table_id_t
 type def the table-id More...
 

Functions

std::ostream & VOM::operator<< (std::ostream &os, const l3_proto_t &l3p)
 Ostream output for l3_proto_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)
 
std::ostream & VOM::operator<< (std::ostream &os, const route::prefix_t &pfx)
 Ostream printer for prefix_t. More...
 
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...
 
void VOM::to_bytes (const boost::asio::ip::address_v4 &addr, uint8_t *array)
 
void VOM::to_bytes (const boost::asio::ip::address_v6 &addr, uint8_t *array)
 
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...
 
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...
 

Variables

static const table_id_t VOM::route::DEFAULT_TABLE = 0
 The table-id for the default table. More...