nwk_stats_api.h File Reference
6LowPAN library network stats API More...
Go to the source code of this file.
Data Structures | |
struct | nwk_stats_t |
/struct nwk_stats_t /brief Struct for network stats buffer structure. More... | |
Typedefs | |
typedef struct nwk_stats_t | nwk_stats_t |
/struct nwk_stats_t /brief Struct for network stats buffer structure. | |
Functions | |
void | protocol_stats_start (nwk_stats_t *stats_ptr) |
Enable stats collection. | |
void | protocol_stats_stop (void) |
Disable stats collection. | |
void | protocol_stats_reset (void) |
Reset stats info fiels. |
Detailed Description
6LowPAN library network stats API
- protocol_stats_start(), Enable stats update.
- protocol_stats_stop(), Stop stack stats update.
- protocol_stats_reset(), Reset all stats information to null.
Definition in file nwk_stats_api.h.
Typedef Documentation
typedef struct nwk_stats_t nwk_stats_t |
/struct nwk_stats_t /brief Struct for network stats buffer structure.
Function Documentation
void protocol_stats_reset | ( | void | ) |
Reset stats info fiels.
Definition at line 38 of file protocol_stats.c.
void protocol_stats_start | ( | nwk_stats_t * | stats_ptr ) |
Enable stats collection.
- Parameters:
-
stats_ptr A static pointer to stack update.
Definition at line 30 of file protocol_stats.c.
void protocol_stats_stop | ( | void | ) |
Disable stats collection.
Definition at line 34 of file protocol_stats.c.
Generated on Tue Jul 12 2022 12:22:32 by
