FD.io VPP
v19.08.3-2-gbabecb413
Vector Packet Processing
|
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... | |
Construct a new object matching the desried state.
Definition at line 22 of file bond_member.cpp.
VOM::bond_member::~bond_member | ( | ) |
Definition at line 29 of file bond_member.cpp.
VOM::bond_member::bond_member | ( | const bond_member & | o | ) |
Definition at line 33 of file bond_member.cpp.
const handle_t VOM::bond_member::hdl | ( | void | ) | const |
Get the interface handle.
Definition at line 78 of file bond_member.cpp.
bool VOM::bond_member::operator< | ( | const bond_member & | mem_itf | ) | const |
less-than operator
Definition at line 60 of file bond_member.cpp.
bool VOM::bond_member::operator== | ( | const bond_member & | i | ) | const |
equality operator
Definition at line 84 of file bond_member.cpp.
void VOM::bond_member::set | ( | mode_t | mode | ) |
set the mode
Definition at line 66 of file bond_member.cpp.
void VOM::bond_member::set | ( | rate_t | rate | ) |
set the rate
Definition at line 72 of file bond_member.cpp.
std::string VOM::bond_member::to_string | ( | void | ) | const |
convert to string
Definition at line 49 of file bond_member.cpp.
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.