FD.io VPP  v18.04-17-g3a0d853
Vector Packet Processing
VOM::handle_t Struct Reference

A type declaration of an interface handle in VPP. More...

+ Collaboration diagram for VOM::handle_t:

Public Member Functions

 handle_t (int value)
 Constructor. More...
 
 handle_t ()
 Constructor. More...
 
std::string to_string () const
 convert to string format for debug purposes More...
 
bool operator== (const handle_t &other) const
 Comparison operator. More...
 
bool operator!= (const handle_t &other) const
 Comparison operator. More...
 
bool operator< (const handle_t &other) const
 less than operator More...
 
uint32_t value () const
 get the value of the handle More...
 
void reset ()
 reset the value of the handle to ~0 More...
 

Static Public Attributes

static const handle_t INVALID
 A value of an interface handle_t that means the itf does not exist. More...
 

Detailed Description

A type declaration of an interface handle in VPP.

Definition at line 236 of file types.hpp.

Constructor & Destructor Documentation

VOM::handle_t::handle_t ( int  value)

Constructor.

Definition at line 61 of file types.cpp.

VOM::handle_t::handle_t ( )

Constructor.

Definition at line 66 of file types.cpp.

Member Function Documentation

bool VOM::handle_t::operator!= ( const handle_t other) const

Comparison operator.

Definition at line 84 of file types.cpp.

bool VOM::handle_t::operator< ( const handle_t other) const

less than operator

Definition at line 90 of file types.cpp.

bool VOM::handle_t::operator== ( const handle_t other) const

Comparison operator.

Definition at line 78 of file types.cpp.

void VOM::handle_t::reset ( )

reset the value of the handle to ~0

Definition at line 102 of file types.cpp.

std::string VOM::handle_t::to_string ( void  ) const

convert to string format for debug purposes

Definition at line 72 of file types.cpp.

+ Here is the caller graph for this function:

uint32_t VOM::handle_t::value ( ) const

get the value of the handle

Definition at line 96 of file types.cpp.

Field Documentation

const handle_t VOM::handle_t::INVALID
static

A value of an interface handle_t that means the itf does not exist.

Definition at line 271 of file types.hpp.


The documentation for this struct was generated from the following files: