Add new bond control commands to CLI
This commit is contained in:
parent
8af4eff43e
commit
ecfac0601a
7 changed files with 395 additions and 42 deletions
|
@ -467,6 +467,32 @@ public:
|
|||
_packetsOut = 0;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* The mean latency (computed from a sliding window.)
|
||||
*/
|
||||
float latencyMean() { return _latencyMean; }
|
||||
|
||||
/**
|
||||
* Packet delay variance (computed from a sliding window.)
|
||||
*/
|
||||
float latencyVariance() { return _latencyVariance; }
|
||||
|
||||
/**
|
||||
* The ratio of lost packets to received packets.
|
||||
*/
|
||||
float packetLossRatio() { return _packetLossRatio; }
|
||||
|
||||
/**
|
||||
* The ratio of packets that failed their MAC/CRC checks to those that did not.
|
||||
*/
|
||||
float packetErrorRatio() { return _packetErrorRatio; }
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
uint8_t allocation() { return _allocation; }
|
||||
|
||||
private:
|
||||
|
||||
volatile int64_t _lastOut;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue