#[repr(C)]pub struct otSrpClientCounters {Show 19 fields
pub mRegisteredTime: u64,
pub mAnycastAvailableTime: u64,
pub mUnicastAvailableTime: u64,
pub mTrackedTime: u64,
pub mTxUpdates: u32,
pub mUpdateAttempts: u32,
pub mSuccess: u32,
pub mRejectedDuplicate: u32,
pub mRejectedSecurity: u32,
pub mRejectedOther: u32,
pub mTimeouts: u32,
pub mHostAddressChanges: u32,
pub mServerChanges: u32,
pub mServiceAdds: u32,
pub mServiceRemoves: u32,
pub mServiceClears: u32,
pub mHostAndServicesRemoves: u32,
pub mHostAndServicesClears: u32,
pub mTxTotalBytes: u32,
}Expand description
Represents the SRP client counters.
Fields§
§mRegisteredTime: u64< Cumulative number of milliseconds spent in the registered state.
mAnycastAvailableTime: u64< Subset of mRegisteredTime while registered with an anycast server.
mUnicastAvailableTime: u64< Subset of mRegisteredTime while registered with a unicast server.
mTrackedTime: u64< Cumulative milliseconds since last counter reset, across all client states (including < stopped/paused).
mTxUpdates: u32< Number of SRP update transmissions (wire-level; includes retransmissions).
mUpdateAttempts: u32< Number of fresh SRP update transactions started.
mSuccess: u32< Number of transactions completed with a successful server response.
mRejectedDuplicate: u32< Number of transactions completed with a name/record conflict response.
mRejectedSecurity: u32< Number of transactions completed with a security/policy/algorithm response.
mRejectedOther: u32< Number of transactions completed with any other server error response.
mTimeouts: u32< Number of retransmission timers that expired before a response arrived.
mHostAddressChanges: u32< Number of host-address change events that triggered an SRP re-registration.
mServerChanges: u32< Number of auto-start server (re-)selections that triggered an SRP update.
mServiceAdds: u32< Number of times a service was successfully added.
mServiceRemoves: u32< Number of times a service was removed (sends an unregister to server).
mServiceClears: u32< Number of times a service was cleared (local-only, no server message).
mHostAndServicesRemoves: u32< Number of times the host and all services were removed (notifies server).
mHostAndServicesClears: u32< Number of times the host and all services were cleared (local-only).
mTxTotalBytes: u32< Cumulative UDP payload bytes of transmitted SRP messages.