Embed: (wiki syntax)

« Back to documentation index

nwk_stats_api.h File Reference

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

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_ptrA 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.