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.  
  | 
|   | 
| 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.  
  | 
|   | 
◆ GNRC_RPL_NETSTATS_MULTICAST
      
        
          | #define GNRC_RPL_NETSTATS_MULTICAST   (0) | 
        
      
 
 
◆ GNRC_RPL_NETSTATS_UNICAST
      
        
          | #define GNRC_RPL_NETSTATS_UNICAST   (1) | 
        
      
 
 
◆ 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 130 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 176 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 84 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 153 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 199 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 61 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 107 of file netstats.h.