FD.io VPP  v19.08.3-2-gbabecb413
Vector Packet Processing
types.hpp File Reference
+ Include dependency graph for types.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  VOM::rc_t
 Error codes that VPP will return during a HW write. More...
 
struct  VOM::direction_t
 Feature Directions. More...
 
struct  VOM::ethertype_t
 Feature Ethertype. More...
 
struct  VOM::handle_t
 A type declaration of an interface handle in VPP. More...
 
struct  VOM::mac_address_t
 Type def of a Ethernet address. More...
 
struct  VOM::l2_address_t
 Type def of a L2 address as read from VPP. More...
 
struct  VOM::counter_t
 

Namespaces

 VOM
 The VPP Object Model (VOM) library.
 

Macros

#define VAPI_CALL(_stmt)
 Convenince wrapper macro for error handling in VAPI sends. More...
 

Enumerations

enum  VOM::dependency_t {
  VOM::dependency_t::GLOBAL = 0, VOM::dependency_t::INTERFACE, VOM::dependency_t::VIRTUAL_INTERFACE, VOM::dependency_t::TABLE,
  VOM::dependency_t::VIRTUAL_TABLE, VOM::dependency_t::ACL, VOM::dependency_t::BINDING, VOM::dependency_t::ENTRY
}
 There needs to be a strict order in which object types are read from VPP (at boot time) and replayed to VPP (if VPP restarts). More...
 

Functions

std::ostream & VOM::operator<< (std::ostream &os, const direction_t &dir)
 Output ostream for direction_t. More...
 
std::ostream & VOM::operator<< (std::ostream &os, const ethertype_t &eth)
 Output ostream for ethertype_t. More...
 
std::ostream & VOM::operator<< (std::ostream &os, const handle_t &h)
 ostream print of a handle_t More...
 
std::ostream & VOM::operator<< (std::ostream &os, const mac_address_t &mac)
 Ostream operator for a MAC address. More...
 
std::ostream & VOM::operator<< (std::ostream &os, const l2_address_t &l2)
 Ostream operator for a MAC address. More...
 
std::ostream & VOM::operator<< (std::ostream &os, const counter_t &c)
 Ostream operator for a MAC address. More...
 

Macro Definition Documentation

◆ VAPI_CALL

#define VAPI_CALL (   _stmt)
Value:
{ \
vapi_error_e _rv; \
do { \
_rv = (_stmt); \
} while (VAPI_OK != _rv); \
}
success
Definition: vapi_common.h:27

Convenince wrapper macro for error handling in VAPI sends.

Definition at line 29 of file types.hpp.