Loading...
Searching...
No Matches
netstats.h File Reference

RPL control message statistics functions. More...

Detailed Description

RPL control message statistics functions.

Author
Cenk Gündoğan cenk..nosp@m.guen.nosp@m.dogan.nosp@m.@haw.nosp@m.-hamb.nosp@m.urg..nosp@m.de

Definition in file netstats.h.

#include "irq.h"
#include "net/rpl/rpl_netstats.h"
+ Include dependency graph for netstats.h:

Go to the source code of this file.

#define GNRC_RPL_NETSTATS_MULTICAST   (0)
 
#define GNRC_RPL_NETSTATS_UNICAST   (1)
 
static void gnrc_rpl_netstats_rx_DIO (netstats_rpl_t *netstats, size_t len, int cast)
 Increase statistics for received DIO.
 
static void gnrc_rpl_netstats_tx_DIO (netstats_rpl_t *netstats, size_t len, int cast)
 Increase statistics for sent DIO.
 
static void gnrc_rpl_netstats_rx_DIS (netstats_rpl_t *netstats, size_t len, int cast)
 Increase statistics for received DIS.
 
static void gnrc_rpl_netstats_tx_DIS (netstats_rpl_t *netstats, size_t len, int cast)
 Increase statistics for sent DIS.
 
static void gnrc_rpl_netstats_rx_DAO (netstats_rpl_t *netstats, size_t len, int cast)
 Increase statistics for received DAO.
 
static void gnrc_rpl_netstats_tx_DAO (netstats_rpl_t *netstats, size_t len, int cast)
 Increase statistics for sent DIO.
 
static void gnrc_rpl_netstats_rx_DAO_ACK (netstats_rpl_t *netstats, size_t len, int cast)
 Increase statistics for received DAO-ACK.
 
static void gnrc_rpl_netstats_tx_DAO_ACK (netstats_rpl_t *netstats, size_t len, int cast)
 Increase statistics for sent DAO-ACK.
 

Macro Definition Documentation

◆ GNRC_RPL_NETSTATS_MULTICAST

#define GNRC_RPL_NETSTATS_MULTICAST   (0)

Definition at line 29 of file netstats.h.

◆ GNRC_RPL_NETSTATS_UNICAST

#define GNRC_RPL_NETSTATS_UNICAST   (1)

Definition at line 30 of file netstats.h.

Function Documentation

◆ gnrc_rpl_netstats_rx_DAO()

static void gnrc_rpl_netstats_rx_DAO ( netstats_rpl_t netstats,
size_t  len,
int  cast 
)
inlinestatic

Increase statistics for received DAO.

Parameters
[in]netstatsPointer to netstats_rpl_t
[in]lenLength in bytes of an ICMPv6 packet to add to statistics
[in]castGNRC_RPL_NETSTATS_MULTICAST or GNRC_RPL_NETSTATS_UNICAST

Definition at line 131 of file netstats.h.

◆ gnrc_rpl_netstats_rx_DAO_ACK()

static void gnrc_rpl_netstats_rx_DAO_ACK ( netstats_rpl_t netstats,
size_t  len,
int  cast 
)
inlinestatic

Increase statistics for received DAO-ACK.

Parameters
[in]netstatsPointer to netstats_rpl_t
[in]lenLength in bytes of an ICMPv6 packet to add to statistics
[in]castGNRC_RPL_NETSTATS_MULTICAST or GNRC_RPL_NETSTATS_UNICAST

Definition at line 177 of file netstats.h.

◆ gnrc_rpl_netstats_rx_DIO()

static void gnrc_rpl_netstats_rx_DIO ( netstats_rpl_t netstats,
size_t  len,
int  cast 
)
inlinestatic

Increase statistics for received DIO.

Parameters
[in]netstatsPointer to netstats_rpl_t
[in]lenLength in bytes of an ICMPv6 packet to add to statistics
[in]castGNRC_RPL_NETSTATS_MULTICAST or GNRC_RPL_NETSTATS_UNICAST

Definition at line 39 of file netstats.h.

◆ gnrc_rpl_netstats_rx_DIS()

static void gnrc_rpl_netstats_rx_DIS ( netstats_rpl_t netstats,
size_t  len,
int  cast 
)
inlinestatic

Increase statistics for received DIS.

Parameters
[in]netstatsPointer to netstats_rpl_t
[in]lenLength in bytes of an ICMPv6 packet to add to statistics
[in]castGNRC_RPL_NETSTATS_MULTICAST or GNRC_RPL_NETSTATS_UNICAST

Definition at line 85 of file netstats.h.

◆ gnrc_rpl_netstats_tx_DAO()

static void gnrc_rpl_netstats_tx_DAO ( netstats_rpl_t netstats,
size_t  len,
int  cast 
)
inlinestatic

Increase statistics for sent DIO.

Parameters
[in]netstatsPointer to netstats_rpl_t
[in]lenLength in bytes of an ICMPv6 packet to add to statistics
[in]castGNRC_RPL_NETSTATS_MULTICAST or GNRC_RPL_NETSTATS_UNICAST

Definition at line 154 of file netstats.h.

◆ gnrc_rpl_netstats_tx_DAO_ACK()

static void gnrc_rpl_netstats_tx_DAO_ACK ( netstats_rpl_t netstats,
size_t  len,
int  cast 
)
inlinestatic

Increase statistics for sent DAO-ACK.

Parameters
[in]netstatsPointer to netstats_rpl_t
[in]lenLength in bytes of an ICMPv6 packet to add to statistics
[in]castGNRC_RPL_NETSTATS_MULTICAST or GNRC_RPL_NETSTATS_UNICAST

Definition at line 200 of file netstats.h.

◆ gnrc_rpl_netstats_tx_DIO()

static void gnrc_rpl_netstats_tx_DIO ( netstats_rpl_t netstats,
size_t  len,
int  cast 
)
inlinestatic

Increase statistics for sent DIO.

Parameters
[in]netstatsPointer to netstats_rpl_t
[in]lenLength in bytes of an ICMPv6 packet to add to statistics
[in]castGNRC_RPL_NETSTATS_MULTICAST or GNRC_RPL_NETSTATS_UNICAST

Definition at line 62 of file netstats.h.

◆ gnrc_rpl_netstats_tx_DIS()

static void gnrc_rpl_netstats_tx_DIS ( netstats_rpl_t netstats,
size_t  len,
int  cast 
)
inlinestatic

Increase statistics for sent DIS.

Parameters
[in]netstatsPointer to netstats_rpl_t
[in]lenLength in bytes of an ICMPv6 packet to add to statistics
[in]castGNRC_RPL_NETSTATS_MULTICAST or GNRC_RPL_NETSTATS_UNICAST

Definition at line 108 of file netstats.h.