FD.io VPP  v20.05.1-6-gf53edbc3b
Vector Packet Processing
VOM::bond_member Class Reference

A bond-member. More...

Data Structures

struct  mode_t
 A member interface mode. More...
 
struct  rate_t
 A member interface rate. More...
 

Public Member Functions

 bond_member (const interface &itf, mode_t mode, rate_t rate)
 Construct a new object matching the desried state. More...
 
 ~bond_member ()
 
 bond_member (const bond_member &o)
 
void to_vpp (vapi_payload_bond_enslave &bond_enslave) const
 convert to VPP More...
 
void set (mode_t mode)
 set the mode More...
 
void set (rate_t rate)
 set the rate More...
 
std::string to_string (void) const
 convert to string More...
 
bool operator< (const bond_member &mem_itf) const
 less-than operator More...
 
const handle_t hdl (void) const
 Get the interface handle. More...
 
bool operator== (const bond_member &i) const
 equality operator More...
 

Detailed Description

A bond-member.

e.g. a bond_member interface

Definition at line 26 of file bond_member.hpp.

Constructor & Destructor Documentation

◆ bond_member() [1/2]

VOM::bond_member::bond_member ( const interface itf,
mode_t  mode,
rate_t  rate 
)

Construct a new object matching the desried state.

Definition at line 22 of file bond_member.cpp.

◆ ~bond_member()

VOM::bond_member::~bond_member ( )

Definition at line 29 of file bond_member.cpp.

◆ bond_member() [2/2]

VOM::bond_member::bond_member ( const bond_member o)

Definition at line 33 of file bond_member.cpp.

Member Function Documentation

◆ hdl()

const handle_t VOM::bond_member::hdl ( void  ) const

Get the interface handle.

Definition at line 78 of file bond_member.cpp.

+ Here is the caller graph for this function:

◆ operator<()

bool VOM::bond_member::operator< ( const bond_member mem_itf) const

less-than operator

Definition at line 60 of file bond_member.cpp.

◆ operator==()

bool VOM::bond_member::operator== ( const bond_member i) const

equality operator

Definition at line 84 of file bond_member.cpp.

◆ set() [1/2]

void VOM::bond_member::set ( mode_t  mode)

set the mode

Definition at line 66 of file bond_member.cpp.

◆ set() [2/2]

void VOM::bond_member::set ( rate_t  rate)

set the rate

Definition at line 72 of file bond_member.cpp.

◆ to_string()

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

convert to string

Definition at line 49 of file bond_member.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ to_vpp()

void VOM::bond_member::to_vpp ( vapi_payload_bond_enslave &  bond_enslave) const

convert to VPP

Definition at line 41 of file bond_member.cpp.

+ Here is the caller graph for this function:

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