net/gnrc/routing/rpl/gnrc_rpl_internal/netstats.h File Reference

RPL control message statistics functions. More...

Detailed Description

#include "net/rpl/rpl_netstats.h"
#include "debug.h"
+ Include dependency graph for net/gnrc/routing/rpl/gnrc_rpl_internal/netstats.h:

Go to the source code of this file.

#define ENABLE_DEBUG   (0)
 
#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. More...
 
static void gnrc_rpl_netstats_tx_DIO (netstats_rpl_t *netstats, size_t len, int cast)
 Increase statistics for sent DIO. More...
 
static void gnrc_rpl_netstats_rx_DIS (netstats_rpl_t *netstats, size_t len, int cast)
 Increase statistics for received DIS. More...
 
static void gnrc_rpl_netstats_tx_DIS (netstats_rpl_t *netstats, size_t len, int cast)
 Increase statistics for sent DIS. More...
 
static void gnrc_rpl_netstats_rx_DAO (netstats_rpl_t *netstats, size_t len, int cast)
 Increase statistics for received DAO. More...
 
static void gnrc_rpl_netstats_tx_DAO (netstats_rpl_t *netstats, size_t len, int cast)
 Increase statistics for sent DIO. More...
 
static void gnrc_rpl_netstats_rx_DAO_ACK (netstats_rpl_t *netstats, size_t len, int cast)
 Increase statistics for received DAO-ACK. More...
 
static void gnrc_rpl_netstats_tx_DAO_ACK (netstats_rpl_t *netstats, size_t len, int cast)
 Increase statistics for sent DAO-ACK. More...
 

Function Documentation

◆ gnrc_rpl_netstats_rx_DAO()

static void gnrc_rpl_netstats_rx_DAO ( netstats_rpl_t netstats,
size_t  len,
int  cast 
)
inlinestatic
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 117 of file net/gnrc/routing/rpl/gnrc_rpl_internal/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
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 155 of file net/gnrc/routing/rpl/gnrc_rpl_internal/netstats.h.

◆ gnrc_rpl_netstats_rx_DIO()

static void gnrc_rpl_netstats_rx_DIO ( netstats_rpl_t netstats,
size_t  len,
int  cast 
)
inlinestatic
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 41 of file net/gnrc/routing/rpl/gnrc_rpl_internal/netstats.h.

◆ gnrc_rpl_netstats_rx_DIS()

static void gnrc_rpl_netstats_rx_DIS ( netstats_rpl_t netstats,
size_t  len,
int  cast 
)
inlinestatic
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 79 of file net/gnrc/routing/rpl/gnrc_rpl_internal/netstats.h.

◆ gnrc_rpl_netstats_tx_DAO()

static void gnrc_rpl_netstats_tx_DAO ( netstats_rpl_t netstats,
size_t  len,
int  cast 
)
inlinestatic
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 136 of file net/gnrc/routing/rpl/gnrc_rpl_internal/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
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 174 of file net/gnrc/routing/rpl/gnrc_rpl_internal/netstats.h.

◆ gnrc_rpl_netstats_tx_DIO()

static void gnrc_rpl_netstats_tx_DIO ( netstats_rpl_t netstats,
size_t  len,
int  cast 
)
inlinestatic
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 60 of file net/gnrc/routing/rpl/gnrc_rpl_internal/netstats.h.

◆ gnrc_rpl_netstats_tx_DIS()

static void gnrc_rpl_netstats_tx_DIS ( netstats_rpl_t netstats,
size_t  len,
int  cast 
)
inlinestatic
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 98 of file net/gnrc/routing/rpl/gnrc_rpl_internal/netstats.h.