diff options
author | Frederic Martinsons <frederic.martinsons@sigfox.com> | 2021-10-15 08:38:50 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-10-22 13:48:13 +0200 |
commit | 0510e9aef8818eeaa445aea246b670871c671ddb (patch) | |
tree | 131380f2a6d70eeb880cbe9b216ef006b4eb1604 /cli/mmcli-output.h | |
parent | 53bcdaa8c3962abbf2a2f638c64173a7657ab560 (diff) |
api,bearer: new 'start-date' field in bearer statistics
It stores the epoch timestamp of the current bearer session start.
If there is no connected bearer, it is set to 0 and not displayed
in mmcli output.
Signed-off-by: Frederic Martinsons <frederic.martinsons@sigfox.com>
Includes updates by Aleksander Morgado to fix coding style issues.
Diffstat (limited to 'cli/mmcli-output.h')
-rw-r--r-- | cli/mmcli-output.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/mmcli-output.h b/cli/mmcli-output.h index 5416e825..6b56cafa 100644 --- a/cli/mmcli-output.h +++ b/cli/mmcli-output.h @@ -266,6 +266,7 @@ typedef enum { MMC_F_BEARER_IPV6_CONFIG_GATEWAY, MMC_F_BEARER_IPV6_CONFIG_DNS, MMC_F_BEARER_IPV6_CONFIG_MTU, + MMC_F_BEARER_STATS_START_DATE, MMC_F_BEARER_STATS_DURATION, MMC_F_BEARER_STATS_BYTES_RX, MMC_F_BEARER_STATS_BYTES_TX, @@ -367,6 +368,7 @@ void mmcli_output_listitem (MmcF field, void mmcli_output_signal_quality (guint value, gboolean recent); +void mmcli_output_start_date (guint64 value); void mmcli_output_state (MMModemState state, MMModemStateFailedReason reason); void mmcli_output_sim_slots (gchar **sim_slot_paths, |