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

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 114 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 152 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 38 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 76 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 133 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 171 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 57 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 95 of file netstats.h.