RPL control message statistics functions.
More...
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...
|
|
◆ 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] | netstats | Pointer to netstats_rpl_t |
[in] | len | Length in bytes of an ICMPv6 packet to add to statistics |
[in] | cast | GNRC_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] | netstats | Pointer to netstats_rpl_t |
[in] | len | Length in bytes of an ICMPv6 packet to add to statistics |
[in] | cast | GNRC_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] | netstats | Pointer to netstats_rpl_t |
[in] | len | Length in bytes of an ICMPv6 packet to add to statistics |
[in] | cast | GNRC_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] | netstats | Pointer to netstats_rpl_t |
[in] | len | Length in bytes of an ICMPv6 packet to add to statistics |
[in] | cast | GNRC_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] | netstats | Pointer to netstats_rpl_t |
[in] | len | Length in bytes of an ICMPv6 packet to add to statistics |
[in] | cast | GNRC_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] | netstats | Pointer to netstats_rpl_t |
[in] | len | Length in bytes of an ICMPv6 packet to add to statistics |
[in] | cast | GNRC_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] | netstats | Pointer to netstats_rpl_t |
[in] | len | Length in bytes of an ICMPv6 packet to add to statistics |
[in] | cast | GNRC_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] | netstats | Pointer to netstats_rpl_t |
[in] | len | Length in bytes of an ICMPv6 packet to add to statistics |
[in] | cast | GNRC_RPL_NETSTATS_MULTICAST or GNRC_RPL_NETSTATS_UNICAST |
Definition at line 95 of file netstats.h.