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

RPL control message statistics functions.

ENABLE_DEBUG
1
(0)
GNRC_RPL_NETSTATS_MULTICAST
1
(0)
GNRC_RPL_NETSTATS_UNICAST
1
(1)
void gnrc_rpl_netstats_rx_DIO(netstats_rpl_t * netstats, msp430_types.h::size_t len, int cast)

Increase statistics for received DIO.

Parameters

netstats:Pointer to netstats_rpl_t
len:Length in bytes of an ICMPv6 packet to add to statistics
cast:GNRC_RPL_NETSTATS_MULTICAST or GNRC_RPL_NETSTATS_UNICAST

void gnrc_rpl_netstats_tx_DIO(netstats_rpl_t * netstats, msp430_types.h::size_t len, int cast)

Increase statistics for sent DIO.

Parameters

netstats:Pointer to netstats_rpl_t
len:Length in bytes of an ICMPv6 packet to add to statistics
cast:GNRC_RPL_NETSTATS_MULTICAST or GNRC_RPL_NETSTATS_UNICAST

void gnrc_rpl_netstats_rx_DIS(netstats_rpl_t * netstats, msp430_types.h::size_t len, int cast)

Increase statistics for received DIS.

Parameters

netstats:Pointer to netstats_rpl_t
len:Length in bytes of an ICMPv6 packet to add to statistics
cast:GNRC_RPL_NETSTATS_MULTICAST or GNRC_RPL_NETSTATS_UNICAST

void gnrc_rpl_netstats_tx_DIS(netstats_rpl_t * netstats, msp430_types.h::size_t len, int cast)

Increase statistics for sent DIS.

Parameters

netstats:Pointer to netstats_rpl_t
len:Length in bytes of an ICMPv6 packet to add to statistics
cast:GNRC_RPL_NETSTATS_MULTICAST or GNRC_RPL_NETSTATS_UNICAST

void gnrc_rpl_netstats_rx_DAO(netstats_rpl_t * netstats, msp430_types.h::size_t len, int cast)

Increase statistics for received DAO.

Parameters

netstats:Pointer to netstats_rpl_t
len:Length in bytes of an ICMPv6 packet to add to statistics
cast:GNRC_RPL_NETSTATS_MULTICAST or GNRC_RPL_NETSTATS_UNICAST

void gnrc_rpl_netstats_tx_DAO(netstats_rpl_t * netstats, msp430_types.h::size_t len, int cast)

Increase statistics for sent DIO.

Parameters

netstats:Pointer to netstats_rpl_t
len:Length in bytes of an ICMPv6 packet to add to statistics
cast:GNRC_RPL_NETSTATS_MULTICAST or GNRC_RPL_NETSTATS_UNICAST

void gnrc_rpl_netstats_rx_DAO_ACK(netstats_rpl_t * netstats, msp430_types.h::size_t len, int cast)

Increase statistics for received DAO-ACK.

Parameters

netstats:Pointer to netstats_rpl_t
len:Length in bytes of an ICMPv6 packet to add to statistics
cast:GNRC_RPL_NETSTATS_MULTICAST or GNRC_RPL_NETSTATS_UNICAST

void gnrc_rpl_netstats_tx_DAO_ACK(netstats_rpl_t * netstats, msp430_types.h::size_t len, int cast)

Increase statistics for sent DAO-ACK.

Parameters

netstats:Pointer to netstats_rpl_t
len:Length in bytes of an ICMPv6 packet to add to statistics
cast:GNRC_RPL_NETSTATS_MULTICAST or GNRC_RPL_NETSTATS_UNICAST