Add basic bond health status reporting (listbonds)
This commit is contained in:
parent
c92e030a4b
commit
9f4985b11a
6 changed files with 199 additions and 6 deletions
|
@ -1475,17 +1475,40 @@ typedef struct
|
|||
enum ZT_PeerRole role;
|
||||
|
||||
/**
|
||||
* Number of paths (size of paths[])
|
||||
*/
|
||||
unsigned int pathCount;
|
||||
|
||||
/**
|
||||
* Whether multiple paths to this peer are bonded
|
||||
* Whether a multi-link bond has formed
|
||||
*/
|
||||
bool isBonded;
|
||||
|
||||
/**
|
||||
* The bonding policy used to bond to this peer
|
||||
*/
|
||||
int bondingPolicy;
|
||||
|
||||
/**
|
||||
* The health status of the bond to this peer
|
||||
*/
|
||||
bool isHealthy;
|
||||
|
||||
/**
|
||||
* The number of links that comprise the bond to this peer that are considered alive
|
||||
*/
|
||||
int numAliveLinks;
|
||||
|
||||
/**
|
||||
* The number of links that comprise the bond to this peer
|
||||
*/
|
||||
int numTotalLinks;
|
||||
|
||||
/**
|
||||
* The user-specified bond template name
|
||||
*/
|
||||
char customBondName[32];
|
||||
|
||||
/**
|
||||
* Number of paths (size of paths[])
|
||||
*/
|
||||
unsigned int pathCount;
|
||||
|
||||
/**
|
||||
* Known network paths to peer
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue