MultipathStats

Aggregates statistics of each network path in multipath transmission.

struct MultipathStats {
  uint32_t lanTxBytes;
  uint32_t lanRxBytes;
  uint32_t wifiTxBytes;
  uint32_t wifiRxBytes;
  uint32_t mobileTxBytes;
  uint32_t mobileRxBytes;
  int activePathNum;
  const PathStats* pathStats;
  MultipathStats()
      : lanTxBytes(0),
        lanRxBytes(0),
        wifiTxBytes(0),
        wifiRxBytes(0),
        mobileTxBytes(0),
        mobileRxBytes(0),
        activePathNum(0),
        pathStats(nullptr) {}
};
Since:
Available since v4.6.0.

Attributes

lanTxBytes
The total number of bytes sent over the LAN path.
lanRxBytes
The total number of bytes received over the LAN path.
wifiTxBytes
The total number of bytes sent over the Wi-Fi path.
wifiRxBytes
The total number of bytes received over the Wi-Fi path.
mobileTxBytes
The total number of bytes sent over the mobile network path.
mobileRxBytes
The total number of bytes received over the mobile network path.
activePathNum
The number of active transmission paths.
pathStats
An array of statistics for each active transmission path. See PathStats.